Skip to content

Firefly III: a personal finances manager

Final code for 5.3.3

James Colea3091f7509c8
diff --git a/.env.example b/.env.example
index e332ebabee..c349c993fd 100644
--- a/.env.example
+++ b/.env.example
@@ -320,6 +320,7 @@ BROADCAST_DRIVER=log
QUEUE_DRIVER=sync
CACHE_PREFIX=firefly
PUSHER_KEY=
+IPINFO_TOKEN=
PUSHER_SECRET=
PUSHER_ID=
DEMO_USERNAME=
diff --git a/app/Jobs/MailError.php b/app/Jobs/MailError.php
index bbb91f6f8d..f58c737dcb 100644
--- a/app/Jobs/MailError.php
+++ b/app/Jobs/MailError.php
@@ -72,11 +72,12 @@ class MailError extends Job implements ShouldQueue
*/
public function handle()
{
- $email = config('firefly.site_owner');
- $args = $this->exception;
- $args['loggedIn'] = $this->userData['id'] > 0;
- $args['user'] = $this->userData;
- $args['ipAddress'] = $this->ipAddress;
+ $email = config('firefly.site_owner');
+ $args = $this->exception;
+ $args['loggedIn'] = $this->userData['id'] > 0;
+ $args['user'] = $this->userData;
+ $args['ip'] = $this->ipAddress;
+ $args['token'] = config('firefly.ipinfo_token');
if ($this->attempts() < 3) {
try {
Mail::send(
diff --git a/config/firefly.php b/config/firefly.php
index a9f5c56c2a..6152fd714f 100644
--- a/config/firefly.php
+++ b/config/firefly.php
@@ -123,6 +123,7 @@ return [
'authentication_guard' => envNonEmpty('AUTHENTICATION_GUARD', 'web'),
'custom_logout_uri' => envNonEmpty('CUSTOM_LOGOUT_URI', ''),
'cer_provider' => envNonEmpty('CER_PROVIDER', 'fixer'),
+ 'ipinfo_token' => env('IPINFO_TOKEN',''),
'update_endpoint' => 'https://version.firefly-iii.org/index.json',
'send_telemetry' => env('SEND_TELEMETRY', false),
'allow_webhooks' => env('ALLOW_WEBHOOKS', false),
diff --git a/frontend/src/components/dashboard/MainAccountList.vue b/frontend/src/components/dashboard/MainAccountList.vue
index 8e791c48d2..9155c9453c 100644
--- a/frontend/src/components/dashboard/MainAccountList.vue
+++ b/frontend/src/components/dashboard/MainAccountList.vue
@@ -100,7 +100,7 @@ export default {
]),
'datesReady': function () {
return null !== this.start && null !== this.end && this.ready;
- }
+ },
},
watch: {
datesReady: function (value) {
@@ -137,7 +137,8 @@ export default {
id: accountIds[key],
title: '',
url: '',
- current_balance: '',
+ include: false,
+ current_balance: '0',
currency_code: 'EUR',
transactions: []
});
@@ -148,12 +149,15 @@ export default {
loadSingleAccount(key, accountId) {
axios.get('./api/v1/accounts/' + accountId)
.then(response => {
- this.accounts[key].title = response.data.data.attributes.name;
- this.accounts[key].url = './accounts/show/' + response.data.data.id;
- this.accounts[key].current_balance = response.data.data.attributes.current_balance;
- this.accounts[key].currency_code = response.data.data.attributes.currency_code;
-
- this.loadTransactions(key, accountId);
+ let account = response.data.data;
+ if ('asset' === account.attributes.type || 'liabilities' === account.attributes.type) {
+ this.accounts[key].title = account.attributes.name;
+ this.accounts[key].url = './accounts/show/' + account.id;
+ this.accounts[key].current_balance = account.attributes.current_balance;
+ this.accounts[key].currency_code = account.attributes.currency_code;
+ this.accounts[key].include = true;
+ this.loadTransactions(key, accountId);
+ }
}
);
},
diff --git a/frontend/src/components/transactions/SplitForm.vue b/frontend/src/components/transactions/SplitForm.vue
index cd988b64ad..2a3a177193 100644
--- a/frontend/src/components/transactions/SplitForm.vue
+++ b/frontend/src/components/transactions/SplitForm.vue
@@ -56,6 +56,7 @@
:errors="transaction.errors.source"
:index="index"
:source-allowed-types="sourceAllowedTypes"
+ :transaction-type="transactionType"
direction="source"
/>
</div>
@@ -79,6 +80,7 @@
:destination-allowed-types="destinationAllowedTypes"
:errors="transaction.errors.destination"
:index="index"
+ :transaction-type="transactionType"
:source-allowed-types="sourceAllowedTypes"
direction="destination"
/>
diff --git a/frontend/src/components/transactions/TransactionAccount.vue b/frontend/src/components/transactions/TransactionAccount.vue
index dfc0a29cc6..bbe5b2a80e 100644
--- a/frontend/src/components/transactions/TransactionAccount.vue
+++ b/frontend/src/components/transactions/TransactionAccount.vue
@@ -96,6 +96,10 @@ export default {
type: Object,
default: () => ({})
},
+ transactionType: {
+ type: String,
+ default: 'any'
+ },
},
data() {
return {
@@ -234,10 +238,6 @@ export default {
}
},
computed: {
- // 'transactionType',
- // 'sourceAllowedTypes',
- // 'destinationAllowedTypes',
- // 'allowedOpposingTypes'
accountKey: {
get() {
return 'source' === this.direction ? 'source_account' : 'destination_account';
@@ -249,11 +249,13 @@ export default {
if (0 === this.index) {
return true;
}
+ // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');
+ // console.log(this.transactionType);
if ('source' === this.direction) {
- return 'any' === this.transactionType || 'Deposit' === this.transactionType
+ return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';
}
if ('destination' === this.direction) {
- return 'any' === this.transactionType || 'Withdrawal' === this.transactionType;
+ return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';
}
return false;
}
diff --git a/frontend/src/components/transactions/TransactionDate.vue b/frontend/src/components/transactions/TransactionDate.vue
index 4e3e98c937..242d345b72 100644
--- a/frontend/src/components/transactions/TransactionDate.vue
+++ b/frontend/src/components/transactions/TransactionDate.vue
@@ -66,7 +66,8 @@ export default {
return {
localDate: this.date,
localTime: this.time,
- timeZone: ''
+ timeZone: '',
+ timeString: '',
}
},
methods: {},
@@ -98,6 +99,7 @@ export default {
// console.log('Time is: ' + localStr);
return localStr;
}
+ // console.log('Return empty string!');
return '';
},
set(value) {
@@ -115,9 +117,20 @@ export default {
let parts = value.split(':');
// console.log('Parts are:');
// console.log(parts);
- current.setHours(parseInt(parts[0] ?? 0));
- current.setMinutes(parseInt(parts[1] ?? 0));
- current.setSeconds(parseInt(parts[2] ?? 0));
+
+ let hrs = parts[0] ?? '0';
+ let min = parts[1] ?? '0';
+ let sec = parts[2] ?? '0';
+ hrs = 3 === hrs.length ? hrs.substr(1, 2) : hrs;
+ min = 3 === min.length ? min.substr(1, 2) : min;
+ sec = 3 === sec.length ? sec.substr(1, 2) : sec;
+ // console.log('Hrs: ' + hrs);
+ // console.log('Min: ' + min);
+ // console.log('Sec: ' + sec);
+
+ current.setHours(parseInt(hrs));
+ current.setMinutes(parseInt(min));
+ current.setSeconds(parseInt(sec));
this.localTime = current;
this.$emit('set-time', {time: this.localTime});
}
diff --git a/frontend/src/locales/it.json b/frontend/src/locales/it.json
index fc93458ddf..dceddb9806 100644
--- a/frontend/src/locales/it.json
+++ b/frontend/src/locales/it.json
@@ -58,7 +58,7 @@
"spent": "Speso",
"Default asset account": "Conto attivit\u00e0 predefinito",
"search_results": "Risultati ricerca",
- "include": "Include?",
+ "include": "Includere?",
"transaction": "Transazione",
"account_role_defaultAsset": "Conto attivit\u00e0 predefinito",
"account_role_savingAsset": "Conto risparmio",
diff --git a/frontend/src/locales/pt-br.json b/frontend/src/locales/pt-br.json
index 0da0039e5d..95c6e27db7 100644
--- a/frontend/src/locales/pt-br.json
+++ b/frontend/src/locales/pt-br.json
@@ -58,7 +58,7 @@
"spent": "Gasto",
"Default asset account": "Conta padr\u00e3o",
"search_results": "Resultados da pesquisa",
- "include": "Include?",
+ "include": "Incluir?",
"transaction": "Transa\u00e7\u00e3o",
"account_role_defaultAsset": "Conta padr\u00e3o",
"account_role_savingAsset": "Conta poupan\u00e7a",
diff --git a/public/v2/js/accounts/index.js b/public/v2/js/accounts/index.js
index d906897ffd..39915562bf 100755
--- a/public/v2/js/accounts/index.js
+++ b/public/v2/js/accounts/index.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[380],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},8923:(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:{}}}function s(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var o=e.getHours();o<10&&(o="0"+o);var s=e.getMinutes();s<10&&(s="0"+s);var r=e.getSeconds();r<10&&(r="0"+r);var i=-e.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return i<0&&(u="-"),t+"-"+a+"-"+n+"T"+o+":"+s+":"+r+u+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>o,u6:()=>s})},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(7760),o=a.n(n),s=a(629),r=a(8923),i=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,r.f$)(),defaultErrors:(0,r.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=i(e.defaultTransaction);t.errors=i(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=i(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 r=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][r],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t}}};var _=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(_.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})}))}};const g={namespaced:!0,state:_,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const p={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 h=new s.ZP.Store({namespaced:!0,modules:{root:g,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:p}},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)}})},649:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),s=a(629),r=a(1474);function i(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 c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}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={name:"Index",props:{accountTypes:String},data:function(){return{accounts:[],allAccounts:[],type:"all",downloaded:!1,loading:!1,ready:!1,fields:[],currentPage:1,perPage:5,total:0,sortBy:"order",sortDesc:!1,sortableOptions:{disabled:!1,chosenClass:"is-selected",onEnd:null},sortable:null}},watch:{storeReady:function(){this.getAccountList()},start:function(){this.getAccountList()},end:function(){this.getAccountList()},orderMode:function(e){this.updateFieldList(),this.reorderAccountList(e),this.makeTableSortable(e)},activeFilter:function(e){this.filterAccountList()}},computed:c(c(c(c({},(0,s.Se)("root",["listPageSize"])),(0,s.Se)("accounts/index",["orderMode","activeFilter"])),(0,s.Se)("dashboard/index",["start","end"])),{},{indexReady:function(){return null!==this.start&&null!==this.end&&null!==this.listPageSize&&this.ready},cardTitle:function(){return this.$t("firefly."+this.type+"_accounts")}}),created:function(){var e=window.location.pathname.split("/");this.type=e[e.length-1];var t=new URLSearchParams(window.location.search);this.currentPage=t.get("page")?parseInt(t.get("page")):1,this.updateFieldList(),this.ready=!0},methods:{saveAccountSort:function(e){var t=this,a=parseInt(e.oldIndex),n=parseInt(e.newIndex),o=parseInt(e.item.attributes.getNamedItem("data-pk").value);for(var s in this.accounts)if(this.accounts.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=this.accounts[s];if(r.id===o){var i=parseInt(r.order)+(n-a);this.accounts[s].order=i;var c="./api/v1/accounts/"+r.id;axios.put(c,{order:i}).then((function(e){t.getAccountList()}))}}},reorderAccountList:function(e){e&&(this.sortBy="order",this.sortDesc=!1)},makeTableSortable:function(e){this.sortableOptions.disabled=!e,this.sortableOptions.onEnd=this.saveAccountSort,null===this.sortable&&(this.sortable=r.ZP.create(this.$refs.table.$el.querySelector("tbody"),this.sortableOptions)),this.sortable.option("disabled",this.sortableOptions.disabled)},updateFieldList:function(){this.fields=[],this.fields=[{key:"title",label:this.$t("list.name"),sortable:!this.orderMode}],"asset"===this.type&&this.fields.push({key:"role",label:this.$t("list.role"),sortable:!this.orderMode}),this.fields.push({key:"number",label:this.$t("list.iban"),sortable:!this.orderMode}),this.fields.push({key:"current_balance",label:this.$t("list.currentBalance"),sortable:!this.orderMode}),this.fields.push({key:"menu",label:" ",sortable:!1})},getAccountList:function(){var e;(console.log("getAccountList()"),!this.indexReady||this.loading||this.downloaded)||(console.log("Index ready, not loading and not already downloaded. Reset."),this.loading=!0,this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,this.accounts=[],this.allAccounts=[],this.downloadAccountList(1));this.indexReady&&!this.loading&&this.downloaded&&(console.log("Index ready, not loading and not downloaded."),this.loading=!0,this.filterAccountList())},downloadAccountList:function(e){var t=this;console.log("downloadAccountList("+e+")"),axios.get("./api/v1/accounts?type="+this.type+"&page="+e).then((function(e){var a=parseInt(e.data.meta.pagination.current_page),n=parseInt(e.data.meta.pagination.total_pages);if(t.total=parseInt(e.data.meta.pagination.total),t.parseAccounts(e.data.data),a<n){var o=a+1;t.downloadAccountList(o)}a>=n&&(console.log("Looks like all downloaded."),t.downloaded=!0,t.filterAccountList())}))},filterAccountList:function(){for(var e in console.log("filterAccountList()"),this.accounts=[],this.allAccounts)if(this.allAccounts.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){if(1===this.activeFilter&&!1===this.allAccounts[e].active){console.log("Skip account #"+this.allAccounts[e].id+" because not active.");continue}if(2===this.activeFilter&&!0===this.allAccounts[e].active){console.log("Skip account #"+this.allAccounts[e].id+" because active.");continue}console.log("Include account #"+this.allAccounts[e].id+"."),this.accounts.push(this.allAccounts[e])}this.total=this.accounts.length,this.loading=!1},roleTranslate:function(e){return null===e?"":this.$t("firefly.account_role_"+e)},parsePages:function(e){this.total=parseInt(e.pagination.total)},parseAccounts:function(e){for(var t in console.log("In parseAccounts()"),e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t],n={};n.id=parseInt(a.id),n.order=a.attributes.order,n.title=a.attributes.name,n.active=a.attributes.active,n.role=this.roleTranslate(a.attributes.account_role),n.account_number=a.attributes.account_number,n.current_balance=a.attributes.current_balance,n.currency_code=a.attributes.currency_code,n.balance_diff="loading",null!==a.attributes.iban&&(n.iban=a.attributes.iban.match(/.{1,4}/g).join(" ")),this.allAccounts.push(n),"asset"===this.type&&this.getAccountBalanceDifference(this.allAccounts.length-1,a)}},getAccountBalanceDifference:function(e,t){var a=this;console.log("getAccountBalanceDifference("+e+")");var n=[];n.push(new Promise((function(a){a({account:t,index:e})}))),n.push(axios.get("./api/v1/accounts/"+t.id+"?date="+this.start.toISOString().split("T")[0])),n.push(axios.get("./api/v1/accounts/"+t.id+"?date="+this.end.toISOString().split("T")[0])),Promise.all(n).then((function(e){var t=e[0].index,n=parseFloat(e[1].data.data.attributes.current_balance),o=parseFloat(e[2].data.data.attributes.current_balance);a.allAccounts[t].balance_diff=o-n}))}}};var _=a(1900);const d=(0,_.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"}),e._v(" "),a("div",{staticClass:"card-body p-0"},[a("b-table",{ref:"table",attrs:{id:"my-table",striped:"",hover:"","primary-key":"id",items:e.accounts,fields:e.fields,"per-page":e.perPage,"sort-icon-left":"","current-page":e.currentPage,busy:e.loading,"sort-by":e.sortBy,"sort-desc":e.sortDesc},on:{"update:busy":function(t){e.loading=t},"update:sortBy":function(t){e.sortBy=t},"update:sort-by":function(t){e.sortBy=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t}},scopedSlots:e._u([{key:"cell(title)",fn:function(t){return[a("a",{attrs:{href:"./accounts/show/"+t.item.id,title:t.value}},[e._v(e._s(t.value))])]}},{key:"cell(number)",fn:function(t){return[null!==t.item.iban&&null===t.item.account_number?a("span",[e._v(e._s(t.item.iban))]):e._e(),e._v(" "),null===t.item.iban&&null!==t.item.account_number?a("span",[e._v(e._s(t.item.account_number))]):e._e(),e._v(" "),null!==t.item.iban&&null!==t.item.account_number?a("span",[e._v(e._s(t.item.iban)+" ("+e._s(t.item.account_number)+")")]):e._e()]}},{key:"cell(current_balance)",fn:function(t){return[parseFloat(t.item.current_balance)>0?a("span",{staticClass:"text-success"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),parseFloat(t.item.current_balance)<0?a("span",{staticClass:"text-danger"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),0===parseFloat(t.item.current_balance)?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),"asset"===e.type&&"loading"===t.item.balance_diff?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),"asset"===e.type&&"loading"!==t.item.balance_diff?a("span",[e._v("\n ("),parseFloat(t.item.balance_diff)>0?a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),0===parseFloat(t.item.balance_diff)?a("span",{staticClass:"text-muted"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),parseFloat(t.item.balance_diff)<0?a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),e._v(")\n ")]):e._e()]}},{key:"cell(menu)",fn:function(t){return[a("div",{staticClass:"btn-group btn-group-sm"},[a("div",{staticClass:"dropdown"},[a("button",{staticClass:"btn btn-light btn-sm dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton"+t.item.id,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e._v("\n "+e._s(e.$t("firefly.actions"))+"\n ")]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"+t.item.id}},[a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/edit/"+t.item.id}},[a("i",{staticClass:"fa fas fa-pencil-alt"}),e._v(" "+e._s(e.$t("firefly.edit")))]),e._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/delete/"+t.item.id}},[a("i",{staticClass:"fa far fa-trash"}),e._v(" "+e._s(e.$t("firefly.delete")))]),e._v(" "),"asset"===e.type?a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/reconcile/"+t.item.id+"/index"}},[a("i",{staticClass:"fas fa-check"}),e._v("\n "+e._s(e.$t("firefly.reconcile_this_account")))]):e._e()])])])]}}])})],1),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-success",attrs:{href:"./accounts/create/"+e.type,title:e.$t("firefly.create_new_"+e.type)}},[e._v(e._s(e.$t("firefly.create_new_"+e.type)))])])])])])])}),[],!1,null,"fdb41426",null).exports;var g=a(9899),p=a(459),h=a(9559),m=a(9879);const f={name:"IndexOptions",data:function(){return{type:"invalid"}},computed:{orderMode:{get:function(){return this.$store.getters["accounts/index/orderMode"]},set:function(e){this.$store.commit("accounts/index/setOrderMode",e),!0===e&&this.$store.commit("accounts/index/setActiveFilter",1)}},activeFilter:{get:function(){return this.$store.getters["accounts/index/activeFilter"]},set:function(e){this.$store.commit("accounts/index/setActiveFilter",parseInt(e))}}},created:function(){var e=window.location.pathname.split("/");this.type=e[e.length-1]}};const b=(0,_.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.orderMode,expression:"orderMode"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"order_mode",id:"order_mode"},domProps:{checked:Array.isArray(e.orderMode)?e._i(e.orderMode,null)>-1:e.orderMode},on:{change:function(t){var a=e.orderMode,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.orderMode=a.concat([null])):s>-1&&(e.orderMode=a.slice(0,s).concat(a.slice(s+1)))}else e.orderMode=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"order_mode"}},[e._v("\n Enable order mode\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"1",id:"active_filter_1"},domProps:{checked:e._q(e.activeFilter,"1")},on:{change:function(t){e.activeFilter="1"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_1"}},[e._v("\n Show active accounts\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"2",id:"active_filter_2"},domProps:{checked:e._q(e.activeFilter,"2")},on:{change:function(t){e.activeFilter="2"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_2"}},[e._v("\n Show inactive accounts\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"3",id:"active_filter_3"},domProps:{checked:e._q(e.activeFilter,"3")},on:{change:function(t){e.activeFilter="3"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_3"}},[e._v("\n Show both\n ")])])])}),[],!1,null,"b354f694",null).exports;a(232);var y=a(157),v={};o().component("b-table",p.h),o().component("b-pagination",h.c),new(o())({i18n:y,store:g.Z,el:"#accounts",render:function(e){return e(d,{props:v})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(o())({i18n:y,store:g.Z,el:"#calendar",render:function(e){return e(m.Z,{props:v})}}),new(o())({i18n:y,store:g.Z,el:"#indexOptions",render:function(e){return e(b,{props:v})}})},4547:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var n=a(4015),o=a.n(n),s=a(3645),r=a.n(s)()(o());r.push([e.id,".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AA0OA,sEACA,aACA",sourcesContent:['\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class="row">\n <div class="col">Start</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.start) }}</div>\n </div>\n <div class="row">\n <div class="col">End</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model="range"\n :rows="2"\n is-range\n mode="date"\n >\n <template v-slot="{ inputValue, inputEvents, isDragging, togglePopover }">\n <div class="row">\n <div class="col">\n <div class="btn-group btn-group-sm d-flex">\n <button\n :title="$t(\'firefly.custom_period\')" class="btn btn-secondary btn-sm"\n @click="togglePopover({ placement: \'auto-start\', positionFixed: true })"\n ><i class="fas fa-calendar-alt"></i></button>\n <button :title="$t(\'firefly.reset_to_current\')"\n class="btn btn-secondary"\n @click="resetDate"\n ><i class="fas fa-history"></i></button>\n <button id="dropdownMenuButton" :title="$t(\'firefly.select_period\')" aria-expanded="false" aria-haspopup="true" class="btn btn-secondary dropdown-toggle"\n data-toggle="dropdown"\n type="button">\n <i class="fas fa-list"></i>\n </button>\n <div aria-labelledby="dropdownMenuButton" class="dropdown-menu">\n <a v-for="period in periods" class="dropdown-item" href="#" @click="customDate(period.start, period.end)">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on="inputEvents.start"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.start"\n type="hidden"\n />\n <input v-on="inputEvents.end"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.end"\n type="hidden"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from "vuex";\nimport Vue from "vue";\nimport DatePicker from "v-calendar/lib/components/date-picker.umd";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers(\'dashboard/index\')\n\n\nVue.component(\'date-picker\', DatePicker)\n\nexport default {\n name: "Calendar",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? \'en-US\';\n },\n data() {\n return {\n locale: \'en-US\',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n \'setEnd\',\n \'setStart\',\n ],\n ),\n resetDate: function () {\n //console.log(\'Reset date to\');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_seven_days\')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_thirty_days\')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n \'viewRange\',\n \'start\',\n \'end\',\n \'defaultStart\',\n \'defaultEnd\'\n ]),\n \'datesReady\': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log(\'User updated range\');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>'],sourceRoot:""}]);const i=r},9879:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(629),o=a(7760),s=a.n(o),r=a(6782),i=a.n(r);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){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){u(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}function u(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _=(0,n._p)("dashboard/index"),d=(_.mapState,_.mapGetters),g=(_.mapActions,_.mapMutations);s().component("date-picker",i());const p={name:"Calendar",created:function(){var e;this.ready=!0,this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:l(l({},g(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(e,t){var a=new Date(e),n=new Date(t);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generatePeriods:function(){var e,t;this.periods=[],e=new Date(this.range.start),a=new Date(e.getFullYear(),e.getMonth()-1,1),n=new Date(e.getFullYear(),e.getMonth(),0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),a=new Date(e.getFullYear(),e.getMonth(),1),n=new Date(e.getFullYear(),e.getMonth()+1,0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)});var a=new Date(e.getFullYear(),e.getMonth()+1,1),n=new Date(e.getFullYear(),e.getMonth()+2,0);this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),e=new Date,(t=new Date).setDate(t.getDate()-7),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_seven_days")}),t.setDate(t.getDate()-23),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:l(l({},d(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(e){!1!==e&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(e){this.setStart(e.start),this.setEnd(e.end)}}};a(8394);const h=(0,a(1900).Z)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("Start")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.start)))])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("End")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.end)))])]),e._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.inputValue,o=t.inputEvents,s=t.isDragging,r=t.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:e.$t("firefly.custom_period")},on:{click:function(e){return r({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:e.$t("firefly.reset_to_current")},on:{click:e.resetDate}},[a("i",{staticClass:"fas fa-history"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:e.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},e._l(e.periods,(function(t){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return e.customDate(t.start,t.end)}}},[e._v(e._s(t.title))])})),0)]),e._v(" "),a("input",e._g({class:s?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},o.start)),e._v(" "),a("input",e._g({class:s?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},o.end))])])]}}]),model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)}),[],!1,null,"12891edc",null).exports},8394:(e,t,a)=>{var n=a(4547);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("69ef6cc5",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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","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":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","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":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=649,e(e.s=t);var t}));e.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[380],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},8923:(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:{}}}function s(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var o=e.getHours();o<10&&(o="0"+o);var s=e.getMinutes();s<10&&(s="0"+s);var r=e.getSeconds();r<10&&(r="0"+r);var i=-e.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return i<0&&(u="-"),t+"-"+a+"-"+n+"T"+o+":"+s+":"+r+u+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>o,u6:()=>s})},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(7760),o=a.n(n),s=a(629),r=a(8923),i=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,r.f$)(),defaultErrors:(0,r.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=i(e.defaultTransaction);t.errors=i(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=i(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 r=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][r],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":t=new Date,a=new Date,t=new Date(t.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),t.setHours(0,0,0,0),a.setHours(23,59,59,999)}e.commit("setStart",t),e.commit("setEnd",a),e.commit("setDefaultStart",t),e.commit("setDefaultEnd",a)}}},mutations:{setStart:function(e,t){e.start=t,window.localStorage.setItem("viewRangeStart",t)},setEnd:function(e,t){e.end=t,window.localStorage.setItem("viewRangeEnd",t)},setDefaultStart:function(e,t){e.defaultStart=t,window.localStorage.setItem("viewRangeDefaultStart",t)},setDefaultEnd:function(e,t){e.defaultEnd=t,window.localStorage.setItem("viewRangeDefaultEnd",t)},setViewRange:function(e,t){e.viewRange=t}}};var _=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(_.listPageSize=localStorage.listPageSize,e.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(t){e.commit("setListPageSize",{length:parseInt(t.data.data.attributes.data)})}))}};const g={namespaced:!0,state:_,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const p={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 h=new s.ZP.Store({namespaced:!0,modules:{root:g,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:p}},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)}})},649:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),s=a(629),r=a(1474);function i(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 c(e){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?i(Object(a),!0).forEach((function(t){l(e,t,a[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):i(Object(a)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(a,t))}))}return e}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={name:"Index",props:{accountTypes:String},data:function(){return{accounts:[],allAccounts:[],type:"all",downloaded:!1,loading:!1,ready:!1,fields:[],currentPage:1,perPage:5,total:0,sortBy:"order",sortDesc:!1,sortableOptions:{disabled:!1,chosenClass:"is-selected",onEnd:null},sortable:null}},watch:{storeReady:function(){this.getAccountList()},start:function(){this.getAccountList()},end:function(){this.getAccountList()},orderMode:function(e){this.updateFieldList(),this.reorderAccountList(e),this.makeTableSortable(e)},activeFilter:function(e){this.filterAccountList()}},computed:c(c(c(c({},(0,s.Se)("root",["listPageSize"])),(0,s.Se)("accounts/index",["orderMode","activeFilter"])),(0,s.Se)("dashboard/index",["start","end"])),{},{indexReady:function(){return null!==this.start&&null!==this.end&&null!==this.listPageSize&&this.ready},cardTitle:function(){return this.$t("firefly."+this.type+"_accounts")}}),created:function(){var e=window.location.pathname.split("/");this.type=e[e.length-1];var t=new URLSearchParams(window.location.search);this.currentPage=t.get("page")?parseInt(t.get("page")):1,this.updateFieldList(),this.ready=!0},methods:{saveAccountSort:function(e){var t=this,a=parseInt(e.oldIndex),n=parseInt(e.newIndex),o=parseInt(e.item.attributes.getNamedItem("data-pk").value);for(var s in this.accounts)if(this.accounts.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r=this.accounts[s];if(r.id===o){var i=parseInt(r.order)+(n-a);this.accounts[s].order=i;var c="./api/v1/accounts/"+r.id;axios.put(c,{order:i}).then((function(e){t.getAccountList()}))}}},reorderAccountList:function(e){e&&(this.sortBy="order",this.sortDesc=!1)},makeTableSortable:function(e){this.sortableOptions.disabled=!e,this.sortableOptions.onEnd=this.saveAccountSort,null===this.sortable&&(this.sortable=r.ZP.create(this.$refs.table.$el.querySelector("tbody"),this.sortableOptions)),this.sortable.option("disabled",this.sortableOptions.disabled)},updateFieldList:function(){this.fields=[],this.fields=[{key:"title",label:this.$t("list.name"),sortable:!this.orderMode}],"asset"===this.type&&this.fields.push({key:"role",label:this.$t("list.role"),sortable:!this.orderMode}),this.fields.push({key:"number",label:this.$t("list.iban"),sortable:!this.orderMode}),this.fields.push({key:"current_balance",label:this.$t("list.currentBalance"),sortable:!this.orderMode}),this.fields.push({key:"menu",label:" ",sortable:!1})},getAccountList:function(){var e;(console.log("getAccountList()"),!this.indexReady||this.loading||this.downloaded)||(console.log("Index ready, not loading and not already downloaded. Reset."),this.loading=!0,this.perPage=null!==(e=this.listPageSize)&&void 0!==e?e:51,this.accounts=[],this.allAccounts=[],this.downloadAccountList(1));this.indexReady&&!this.loading&&this.downloaded&&(console.log("Index ready, not loading and not downloaded."),this.loading=!0,this.filterAccountList())},downloadAccountList:function(e){var t=this;console.log("downloadAccountList("+e+")"),axios.get("./api/v1/accounts?type="+this.type+"&page="+e).then((function(e){var a=parseInt(e.data.meta.pagination.current_page),n=parseInt(e.data.meta.pagination.total_pages);if(t.total=parseInt(e.data.meta.pagination.total),t.parseAccounts(e.data.data),a<n){var o=a+1;t.downloadAccountList(o)}a>=n&&(console.log("Looks like all downloaded."),t.downloaded=!0,t.filterAccountList())}))},filterAccountList:function(){for(var e in console.log("filterAccountList()"),this.accounts=[],this.allAccounts)if(this.allAccounts.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){if(1===this.activeFilter&&!1===this.allAccounts[e].active){console.log("Skip account #"+this.allAccounts[e].id+" because not active.");continue}if(2===this.activeFilter&&!0===this.allAccounts[e].active){console.log("Skip account #"+this.allAccounts[e].id+" because active.");continue}console.log("Include account #"+this.allAccounts[e].id+"."),this.accounts.push(this.allAccounts[e])}this.total=this.accounts.length,this.loading=!1},roleTranslate:function(e){return null===e?"":this.$t("firefly.account_role_"+e)},parsePages:function(e){this.total=parseInt(e.pagination.total)},parseAccounts:function(e){for(var t in console.log("In parseAccounts()"),e)if(e.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var a=e[t],n={};n.id=parseInt(a.id),n.order=a.attributes.order,n.title=a.attributes.name,n.active=a.attributes.active,n.role=this.roleTranslate(a.attributes.account_role),n.account_number=a.attributes.account_number,n.current_balance=a.attributes.current_balance,n.currency_code=a.attributes.currency_code,n.balance_diff="loading",null!==a.attributes.iban&&(n.iban=a.attributes.iban.match(/.{1,4}/g).join(" ")),this.allAccounts.push(n),"asset"===this.type&&this.getAccountBalanceDifference(this.allAccounts.length-1,a)}},getAccountBalanceDifference:function(e,t){var a=this;console.log("getAccountBalanceDifference("+e+")");var n=[];n.push(new Promise((function(a){a({account:t,index:e})}))),n.push(axios.get("./api/v1/accounts/"+t.id+"?date="+this.start.toISOString().split("T")[0])),n.push(axios.get("./api/v1/accounts/"+t.id+"?date="+this.end.toISOString().split("T")[0])),Promise.all(n).then((function(e){var t=e[0].index,n=parseFloat(e[1].data.data.attributes.current_balance),o=parseFloat(e[2].data.data.attributes.current_balance);a.allAccounts[t].balance_diff=o-n}))}}};var _=a(1900);const d=(0,_.Z)(u,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("b-pagination",{attrs:{"total-rows":e.total,"per-page":e.perPage,"aria-controls":"my-table"},model:{value:e.currentPage,callback:function(t){e.currentPage=t},expression:"currentPage"}})],1)]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"}),e._v(" "),a("div",{staticClass:"card-body p-0"},[a("b-table",{ref:"table",attrs:{id:"my-table",striped:"",hover:"","primary-key":"id",items:e.accounts,fields:e.fields,"per-page":e.perPage,"sort-icon-left":"","current-page":e.currentPage,busy:e.loading,"sort-by":e.sortBy,"sort-desc":e.sortDesc},on:{"update:busy":function(t){e.loading=t},"update:sortBy":function(t){e.sortBy=t},"update:sort-by":function(t){e.sortBy=t},"update:sortDesc":function(t){e.sortDesc=t},"update:sort-desc":function(t){e.sortDesc=t}},scopedSlots:e._u([{key:"cell(title)",fn:function(t){return[a("a",{attrs:{href:"./accounts/show/"+t.item.id,title:t.value}},[e._v(e._s(t.value))])]}},{key:"cell(number)",fn:function(t){return[null!==t.item.iban&&null===t.item.account_number?a("span",[e._v(e._s(t.item.iban))]):e._e(),e._v(" "),null===t.item.iban&&null!==t.item.account_number?a("span",[e._v(e._s(t.item.account_number))]):e._e(),e._v(" "),null!==t.item.iban&&null!==t.item.account_number?a("span",[e._v(e._s(t.item.iban)+" ("+e._s(t.item.account_number)+")")]):e._e()]}},{key:"cell(current_balance)",fn:function(t){return[parseFloat(t.item.current_balance)>0?a("span",{staticClass:"text-success"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),parseFloat(t.item.current_balance)<0?a("span",{staticClass:"text-danger"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),0===parseFloat(t.item.current_balance)?a("span",{staticClass:"text-muted"},[e._v("\n "+e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.current_balance))+"\n ")]):e._e(),e._v(" "),"asset"===e.type&&"loading"===t.item.balance_diff?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):e._e(),e._v(" "),"asset"===e.type&&"loading"!==t.item.balance_diff?a("span",[e._v("\n ("),parseFloat(t.item.balance_diff)>0?a("span",{staticClass:"text-success"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),0===parseFloat(t.item.balance_diff)?a("span",{staticClass:"text-muted"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),parseFloat(t.item.balance_diff)<0?a("span",{staticClass:"text-danger"},[e._v(e._s(Intl.NumberFormat("en-US",{style:"currency",currency:t.item.currency_code}).format(t.item.balance_diff)))]):e._e(),e._v(")\n ")]):e._e()]}},{key:"cell(menu)",fn:function(t){return[a("div",{staticClass:"btn-group btn-group-sm"},[a("div",{staticClass:"dropdown"},[a("button",{staticClass:"btn btn-light btn-sm dropdown-toggle",attrs:{type:"button",id:"dropdownMenuButton"+t.item.id,"data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false"}},[e._v("\n "+e._s(e.$t("firefly.actions"))+"\n ")]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"+t.item.id}},[a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/edit/"+t.item.id}},[a("i",{staticClass:"fa fas fa-pencil-alt"}),e._v(" "+e._s(e.$t("firefly.edit")))]),e._v(" "),a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/delete/"+t.item.id}},[a("i",{staticClass:"fa far fa-trash"}),e._v(" "+e._s(e.$t("firefly.delete")))]),e._v(" "),"asset"===e.type?a("a",{staticClass:"dropdown-item",attrs:{href:"./accounts/reconcile/"+t.item.id+"/index"}},[a("i",{staticClass:"fas fa-check"}),e._v("\n "+e._s(e.$t("firefly.reconcile_this_account")))]):e._e()])])])]}}])})],1),e._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-success",attrs:{href:"./accounts/create/"+e.type,title:e.$t("firefly.create_new_"+e.type)}},[e._v(e._s(e.$t("firefly.create_new_"+e.type)))])])])])])])}),[],!1,null,"fdb41426",null).exports;var g=a(9899),p=a(459),h=a(9559),m=a(9879);const f={name:"IndexOptions",data:function(){return{type:"invalid"}},computed:{orderMode:{get:function(){return this.$store.getters["accounts/index/orderMode"]},set:function(e){this.$store.commit("accounts/index/setOrderMode",e),!0===e&&this.$store.commit("accounts/index/setActiveFilter",1)}},activeFilter:{get:function(){return this.$store.getters["accounts/index/activeFilter"]},set:function(e){this.$store.commit("accounts/index/setActiveFilter",parseInt(e))}}},created:function(){var e=window.location.pathname.split("/");this.type=e[e.length-1]}};const b=(0,_.Z)(f,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.orderMode,expression:"orderMode"}],staticClass:"form-check-input",attrs:{type:"checkbox",name:"order_mode",id:"order_mode"},domProps:{checked:Array.isArray(e.orderMode)?e._i(e.orderMode,null)>-1:e.orderMode},on:{change:function(t){var a=e.orderMode,n=t.target,o=!!n.checked;if(Array.isArray(a)){var s=e._i(a,null);n.checked?s<0&&(e.orderMode=a.concat([null])):s>-1&&(e.orderMode=a.slice(0,s).concat(a.slice(s+1)))}else e.orderMode=o}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"order_mode"}},[e._v("\n Enable order mode\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"1",id:"active_filter_1"},domProps:{checked:e._q(e.activeFilter,"1")},on:{change:function(t){e.activeFilter="1"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_1"}},[e._v("\n Show active accounts\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"2",id:"active_filter_2"},domProps:{checked:e._q(e.activeFilter,"2")},on:{change:function(t){e.activeFilter="2"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_2"}},[e._v("\n Show inactive accounts\n ")])]),e._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:e.activeFilter,expression:"activeFilter"}],staticClass:"form-check-input",attrs:{disabled:e.orderMode,type:"radio",value:"3",id:"active_filter_3"},domProps:{checked:e._q(e.activeFilter,"3")},on:{change:function(t){e.activeFilter="3"}}}),e._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"active_filter_3"}},[e._v("\n Show both\n ")])])])}),[],!1,null,"b354f694",null).exports;a(232);var y=a(157),v={};o().component("b-table",p.h),o().component("b-pagination",h.c),new(o())({i18n:y,store:g.Z,el:"#accounts",render:function(e){return e(d,{props:v})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(o())({i18n:y,store:g.Z,el:"#calendar",render:function(e){return e(m.Z,{props:v})}}),new(o())({i18n:y,store:g.Z,el:"#indexOptions",render:function(e){return e(b,{props:v})}})},4547:(e,t,a)=>{"use strict";a.r(t),a.d(t,{default:()=>i});var n=a(4015),o=a.n(n),s=a(3645),r=a.n(s)()(o());r.push([e.id,".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AA0OA,sEACA,aACA",sourcesContent:['\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class="row">\n <div class="col">Start</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.start) }}</div>\n </div>\n <div class="row">\n <div class="col">End</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model="range"\n :rows="2"\n is-range\n mode="date"\n >\n <template v-slot="{ inputValue, inputEvents, isDragging, togglePopover }">\n <div class="row">\n <div class="col">\n <div class="btn-group btn-group-sm d-flex">\n <button\n :title="$t(\'firefly.custom_period\')" class="btn btn-secondary btn-sm"\n @click="togglePopover({ placement: \'auto-start\', positionFixed: true })"\n ><i class="fas fa-calendar-alt"></i></button>\n <button :title="$t(\'firefly.reset_to_current\')"\n class="btn btn-secondary"\n @click="resetDate"\n ><i class="fas fa-history"></i></button>\n <button id="dropdownMenuButton" :title="$t(\'firefly.select_period\')" aria-expanded="false" aria-haspopup="true" class="btn btn-secondary dropdown-toggle"\n data-toggle="dropdown"\n type="button">\n <i class="fas fa-list"></i>\n </button>\n <div aria-labelledby="dropdownMenuButton" class="dropdown-menu">\n <a v-for="period in periods" class="dropdown-item" href="#" @click="customDate(period.start, period.end)">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on="inputEvents.start"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.start"\n type="hidden"\n />\n <input v-on="inputEvents.end"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.end"\n type="hidden"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from "vuex";\nimport Vue from "vue";\nimport DatePicker from "v-calendar/lib/components/date-picker.umd";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers(\'dashboard/index\')\n\n\nVue.component(\'date-picker\', DatePicker)\n\nexport default {\n name: "Calendar",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? \'en-US\';\n },\n data() {\n return {\n locale: \'en-US\',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n \'setEnd\',\n \'setStart\',\n ],\n ),\n resetDate: function () {\n //console.log(\'Reset date to\');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_seven_days\')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_thirty_days\')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n \'viewRange\',\n \'start\',\n \'end\',\n \'defaultStart\',\n \'defaultEnd\'\n ]),\n \'datesReady\': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log(\'User updated range\');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>'],sourceRoot:""}]);const i=r},9879:(e,t,a)=>{"use strict";a.d(t,{Z:()=>h});var n=a(629),o=a(7760),s=a.n(o),r=a(6782),i=a.n(r);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){for(var t=1;t<arguments.length;t++){var a=null!=arguments[t]?arguments[t]:{};t%2?c(Object(a),!0).forEach((function(t){u(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}function u(e,t,a){return t in e?Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}):e[t]=a,e}var _=(0,n._p)("dashboard/index"),d=(_.mapState,_.mapGetters),g=(_.mapActions,_.mapMutations);s().component("date-picker",i());const p={name:"Calendar",created:function(){var e;this.ready=!0,this.locale=null!==(e=localStorage.locale)&&void 0!==e?e:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:l(l({},g(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(e,t){var a=new Date(e),n=new Date(t);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generatePeriods:function(){var e,t;this.periods=[],e=new Date(this.range.start),a=new Date(e.getFullYear(),e.getMonth()-1,1),n=new Date(e.getFullYear(),e.getMonth(),0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),a=new Date(e.getFullYear(),e.getMonth(),1),n=new Date(e.getFullYear(),e.getMonth()+1,0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)});var a=new Date(e.getFullYear(),e.getMonth()+1,1),n=new Date(e.getFullYear(),e.getMonth()+2,0);this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),e=new Date,(t=new Date).setDate(t.getDate()-7),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_seven_days")}),t.setDate(t.getDate()-23),this.periods.push({start:t.toDateString(),end:e.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:l(l({},d(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(e){!1!==e&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(e){this.setStart(e.start),this.setEnd(e.end)}}};a(8394);const h=(0,a(1900).Z)(p,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("Start")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.start)))])]),e._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[e._v("End")]),e._v(" "),a("div",{staticClass:"col-8"},[e._v(e._s(new Intl.DateTimeFormat(e.locale,{year:"numeric",month:"long",day:"numeric"}).format(e.range.end)))])]),e._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:e._u([{key:"default",fn:function(t){var n=t.inputValue,o=t.inputEvents,s=t.isDragging,r=t.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:e.$t("firefly.custom_period")},on:{click:function(e){return r({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:e.$t("firefly.reset_to_current")},on:{click:e.resetDate}},[a("i",{staticClass:"fas fa-history"})]),e._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:e.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),e._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},e._l(e.periods,(function(t){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return e.customDate(t.start,t.end)}}},[e._v(e._s(t.title))])})),0)]),e._v(" "),a("input",e._g({class:s?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},o.start)),e._v(" "),a("input",e._g({class:s?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},o.end))])])]}}]),model:{value:e.range,callback:function(t){e.range=t},expression:"range"}})],1)}),[],!1,null,"12891edc",null).exports},8394:(e,t,a)=>{var n=a(4547);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[e.id,n,""]]),n.locals&&(e.exports=n.locals);(0,a(5346).Z)("69ef6cc5",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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=649,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/public/v2/js/accounts/show.js b/public/v2/js/accounts/show.js
index c121e07044..23fcf7f337 100755
--- a/public/v2/js/accounts/show.js
+++ b/public/v2/js/accounts/show.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[292],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},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)}})},59:(e,t,a)=>{"use strict";const n={name:"Show"};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n I am a show\n")])}),[],!1,null,"321a1058",null).exports;a(232);var s=a(157),r={};new Vue({i18n:s,render:function(e){return e(o,{props:r})}}).$mount("#accounts_show")},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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","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":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","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":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=59,e(e.s=t);var t}));e.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[292],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},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)}})},59:(e,t,a)=>{"use strict";const n={name:"Show"};const o=(0,a(1900).Z)(n,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("\n I am a show\n")])}),[],!1,null,"321a1058",null).exports;a(232);var s=a(157),r={};new Vue({i18n:s,render:function(e){return e(o,{props:r})}}).$mount("#accounts_show")},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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=59,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=show.js.map
\ No newline at end of file
diff --git a/public/v2/js/dashboard.js b/public/v2/js/dashboard.js
index c4551cc501..577e6ceff5 100755
--- a/public/v2/js/dashboard.js
+++ b/public/v2/js/dashboard.js
@@ -1 +1 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[663],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),r=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=r.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function r(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var r=t.getMinutes();r<10&&(r="0"+r);var o=t.getSeconds();o<10&&(o="0"+o);var i=-t.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return i<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+r+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>r})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>p});var n=a(7760),s=a.n(n),r=a(629),o=a(8923),i=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=i(t.defaultTransaction);e.errors=i(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=i(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}},l={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var r=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][r],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var u=function(){return{listPageSize:33}},d={initialiseStore:function(t){localStorage.listPageSize&&(u.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const _={namespaced:!0,state:u,getters:{listPageSize:function(t){return t.listPageSize}},actions:d,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};s().use(r.ZP);const p=new r.ZP.Store({namespaced:!0,modules:{root:_,transactions:{namespaced:!0,modules:{create:c,edit:{namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}}}},accounts:{namespaced:!0,modules:{index:{namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}}}},dashboard:{namespaced:!0,modules:{index:l}}},strict:!1,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},7396:(t,e,a)=>{"use strict";var n=a(1900);const s=(0,n.Z)({name:"Dashboard"},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("top-boxes"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-account")],1)]),t._v(" "),a("main-account-list"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-budget-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-category-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-debit-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-credit-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-piggy-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-bills-list")],1)])],1)}),[],!1,null,null,null).exports;var r=a(629);function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function i(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){c(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function c(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var l=(0,r._p)("dashboard/index"),u=(l.mapState,l.mapGetters);l.mapActions,l.mapMutations;const d={name:"TopBoxes",props:{},data:function(){return{summary:[],balances:[],billsPaid:[],billsUnpaid:[],leftToSpend:[],netWorth:[],loading:!0,error:!1,ready:!1}},computed:i(i({},u(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready},prefCurrencyBalances:function(){return this.filterOnCurrency(this.balances)},notPrefCurrencyBalances:function(){return this.filterOnNotCurrency(this.balances)},prefBillsUnpaid:function(){return this.filterOnCurrency(this.billsUnpaid)},notPrefBillsUnpaid:function(){return this.filterOnNotCurrency(this.billsUnpaid)},prefLeftToSpend:function(){return this.filterOnCurrency(this.leftToSpend)},notPrefLeftToSpend:function(){return this.filterOnNotCurrency(this.leftToSpend)},prefNetWorth:function(){return this.filterOnCurrency(this.netWorth)},notPrefNetWorth:function(){return this.filterOnNotCurrency(this.netWorth)},currencyCode:function(){return this.$store.getters.currencyCode},currencyId:function(){return this.$store.getters.currencyId}}),watch:{datesReady:function(t){!0===t&&this.prepareComponent()},start:function(){!1===this.loading&&this.prepareComponent()},end:function(){!1===this.loading&&this.prepareComponent()}},created:function(){this.ready=!0},methods:{filterOnCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id===this.currencyId&&e.push(t[a]);return 0===e.length&&t.hasOwnProperty(0)&&e.push(t[0]),e},filterOnNotCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id!==this.currencyId&&e.push(t[a]);return e},prepareComponent:function(){var t=this;this.error=!1,this.loading=!0,this.summary=[],this.balances=[],this.billsPaid=[],this.billsUnpaid=[],this.leftToSpend=[],this.netWorth=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/summary/basic?start="+e+"&end="+a).then((function(e){t.summary=e.data,t.buildComponent(),t.loading=!1})).catch((function(e){t.error=!0}))},buildComponent:function(){this.getBalanceEntries(),this.getBillsEntries(),this.getLeftToSpend(),this.getNetWorth()},hasCurrency:function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].currency_id===this.currencyId)return!0;return!1},getBalanceEntries:function(){this.balances=this.getKeyedEntries("balance-in-")},getNetWorth:function(){this.netWorth=this.getKeyedEntries("net-worth-in-")},getLeftToSpend:function(){this.leftToSpend=this.getKeyedEntries("left-to-spend-in-")},getBillsEntries:function(){this.billsPaid=this.getKeyedEntries("bills-paid-in-"),this.billsUnpaid=this.getKeyedEntries("bills-unpaid-in-")},getKeyedEntries:function(t){var e=[];for(var a in this.summary)this.summary.hasOwnProperty(a)&&t===a.substr(0,t.length)&&e.push(this.summary[a]);return e}}},_=(0,n.Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(0),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.balance")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefCurrencyBalances,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(1),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefCurrencyBalances,(function(e,n){return a("span",{attrs:{title:e.sub_title}},[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefCurrencyBalances.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefCurrencyBalances.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(2),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.bills_to_pay")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefBillsUnpaid,(function(e){return a("span",{staticClass:"info-box-number"},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(3),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefBillsUnpaid,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefBillsUnpaid.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefBillsUnpaid.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(4),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.left_to_spend")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefLeftToSpend,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(5),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefLeftToSpend,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefLeftToSpend.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefLeftToSpend.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(6),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.net_worth")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefNetWorth,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(7),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefNetWorth,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefNetWorth.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefNetWorth.length?a("span",[t._v(" ")]):t._e()],2)],2)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-bookmark text-info"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-info"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-calendar-alt text-teal"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-teal"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])}],!1,null,null,null).exports,p={name:"DataConverter",data:function(){return{dataSet:null,newDataSet:null,locale:localStorage.local}},methods:{convertChart:function(t){return this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]},this.getLabels(),this.getDataSets(),this.newDataSet.count=this.newDataSet.datasets.length,this.newDataSet},colorizeBarData:function(t){this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var s in this.newDataSet.labels=this.dataSet.labels,this.newDataSet.count=this.dataSet.count,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(s)){var r=this.dataSet.datasets[s];r.fill=!1,r.backgroundColor=r.borderColor=a[s],this.newDataSet.datasets.push(r)}return this.newDataSet},colorizeLineData:function(t){this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var s in this.newDataSet.labels=this.dataSet.labels,this.newDataSet.count=this.dataSet.count,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(s)){var r=this.dataSet.datasets[s];r.fill=!1,r.backgroundColor=r.borderColor=a[s],this.newDataSet.datasets.push(r)}return this.newDataSet},convertLabelsToDate:function(t){for(var e in t.labels)if(t.labels.hasOwnProperty(e)){var a=Date.parse(t.labels[e]);t.labels[e]=new Intl.DateTimeFormat(this.locale).format(a)}return t},getLabels:function(){var t=this.dataSet[0];if(void 0!==t)for(var e in t.entries)t.entries.hasOwnProperty(e)&&this.newDataSet.labels.push(e)},getDataSets:function(){for(var t in this.dataSet)if(this.dataSet.hasOwnProperty(t)){var e={},a=this.dataSet[t];if(void 0!==a){for(var n in e.label=a.label,e.type=a.type,e.currency_symbol=a.currency_symbol,e.currency_code=a.currency_code,e.yAxisID=a.yAxisID,e.data=[],a.entries)a.entries.hasOwnProperty(n)&&e.data.push(a.entries[n]);this.newDataSet.datasets.push(e)}}}}},g=(0,n.Z)(p,void 0,void 0,!1,null,null,null).exports,h={name:"DefaultLineOptions",data:function(){return{}},methods:{formatLabel:function(t,e){var a=[],n=(t=String(t)).split(" "),s="";return n.forEach((function(t,r){if(s.length>0){var o=s+" "+t;if(!(o.length>e))return r===n.length-1?void a.push(o):void(s=o);a.push(s),s=""}r!==n.length-1&&t.length<e?s=t:a.push(t)})),a},getDefaultOptions:function(){var t=this;return{legend:{display:!1},animation:{duration:0},responsive:!0,maintainAspectRatio:!1,elements:{line:{cubicInterpolationMode:"monotone"}},scales:{xAxes:[{gridLines:{display:!1},ticks:{callback:function(e,a,n){var s=new Date(e),r=new Intl.DateTimeFormat(localStorage.locale,{year:"numeric",month:"long",day:"numeric"}).format(s);return t.formatLabel(r,20)}}}],yAxes:[{display:!0,ticks:{callback:function(t){var e=this.chart.data.datasets[0].currency_code?this.chart.data.datasets[0].currency_code:"EUR";return new Intl.NumberFormat(localStorage.locale,{style:"currency",currency:e}).format(t)},beginAtZero:!0}}]},tooltips:{mode:"index",callbacks:{label:function(t,e){var a=e.datasets[t.datasetIndex].currency_code?e.datasets[t.datasetIndex].currency_code:"EUR",n=new Intl.NumberFormat(localStorage.locale,{style:"currency",currency:a}).format(t.yLabel);return e.datasets[t.datasetIndex].label+": "+n}}}}}}},m=(0,n.Z)(h,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"5f7e90aa",null).exports;var f=a(7297),b=f.tA.reactiveProp;const y={extends:f.x1,mixins:[b],props:["options"],mounted:function(){this.renderChart(this.chartData,this.options)}},v=(0,n.Z)(y,void 0,void 0,!1,null,null,null).exports;function w(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function k(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?w(Object(a),!0).forEach((function(e){D(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function D(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var C=(0,r._p)("dashboard/index"),x=(C.mapState,C.mapGetters);C.mapActions,C.mapMutations;const S={name:"MainAccount",components:{MainAccountChart:v},data:function(){return{loading:!0,error:!1,ready:!1,dataCollection:{},chartOptions:{}}},created:function(){this.ready=!0,this.chartOptions=m.methods.getDefaultOptions()},computed:k(k({},x(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseChart()},start:function(){this.initialiseChart()},end:function(){this.initialiseChart()}},methods:{initialiseChart:function(){var t=this;this.loading=!0,this.error=!1;var e="./api/v1/chart/account/overview?start="+this.start.toISOString().split("T")[0]+"&end="+this.end.toISOString().split("T")[0];axios.get(e).then((function(e){var a=g.methods.convertChart(e.data);a=g.methods.colorizeLineData(a),t.dataCollection=a,t.loading=!1})).catch((function(e){t.error=!0}))}}},j=(0,n.Z)(S,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.yourAccounts")))])]),t._v(" "),a("div",{staticClass:"card-body"},[t.loading?t._e():a("div",[t.loading||t.error?t._e():a("MainAccountChart",{attrs:{"chart-data":t.dataCollection,options:t.chartOptions}})],1),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e()]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./accounts/asset"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_asset_accounts")))])])])}),[],!1,null,null,null).exports;function I(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function z(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?I(Object(a),!0).forEach((function(e){A(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function A(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var P=(0,r._p)("dashboard/index"),T=(P.mapState,P.mapGetters);P.mapActions,P.mapMutations;const O={name:"MainAccountList",data:function(){return{loading:!0,error:!1,ready:!1,accounts:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:z(z({},T(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseList()},start:function(){!1===this.loading&&this.initialiseList()},end:function(){!1===this.loading&&this.initialiseList()}},methods:{initialiseList:function(){var t=this;this.loading=!0,this.accounts=[],axios.get("./api/v1/preferences/frontpageAccounts").then((function(e){t.loadAccounts(e)}))},loadAccounts:function(t){var e=t.data.data.attributes.data;for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(this.accounts.push({id:e[a],title:"",url:"",current_balance:"",currency_code:"EUR",transactions:[]}),this.loadSingleAccount(a,e[a]))},loadSingleAccount:function(t,e){var a=this;axios.get("./api/v1/accounts/"+e).then((function(n){a.accounts[t].title=n.data.data.attributes.name,a.accounts[t].url="./accounts/show/"+n.data.data.id,a.accounts[t].current_balance=n.data.data.attributes.current_balance,a.accounts[t].currency_code=n.data.data.attributes.currency_code,a.loadTransactions(t,e)}))},loadTransactions:function(t,e){var a=this,n=this.start.toISOString().split("T")[0],s=this.end.toISOString().split("T")[0];axios.get("./api/v1/accounts/"+e+"/transactions?page=1&limit=10&start="+n+"&end="+s).then((function(e){a.accounts[t].transactions=e.data.data,a.loading=!1,a.error=!1}))}}},B=(0,n.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"row"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"row"},t._l(t.accounts,(function(e){return a("div",{class:{"col-lg-12":1===t.accounts.length,"col-lg-6":2===t.accounts.length,"col-lg-4":t.accounts.length>2}},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[a("a",{attrs:{href:e.url}},[t._v(t._s(e.title))])]),t._v(" "),a("div",{staticClass:"card-tools"},[a("span",{class:parseFloat(e.current_balance)<0?"text-danger":"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.current_balance)))+"\n ")])])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("div",[1===t.accounts.length?a("transaction-list-large",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),2===t.accounts.length?a("transaction-list-medium",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),t.accounts.length>2?a("transaction-list-small",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e()],1)])])])})),0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])])])])}],!1,null,"5d6bb842",null).exports;function L(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function R(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?L(Object(a),!0).forEach((function(e){E(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function E(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var N=(0,r._p)("dashboard/index"),F=(N.mapState,N.mapGetters);N.mapActions,N.mapMutations;const M={name:"MainBillsList",data:function(){return{bills:[],locale:"en-US",ready:!1,loading:!0,error:!1}},computed:R(R({},F(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseBills()},start:function(){!1===this.loading&&this.initialiseBills()},end:function(){!1===this.loading&&this.initialiseBills()}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},components:{},methods:{initialiseBills:function(){var t=this;this.loading=!0,this.bills=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/bills?start="+e+"&end="+a).then((function(e){t.loadBills(e.data.data)})).catch((function(e){t.error=!0,t.loading=!1}))},renderPaidDate:function(t){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(t.date)),a=this.$t("firefly.bill_paid_on",{date:e});return'<a href="./transactions/show/'+t.transaction_group_id+'" title="'+a+'">'+a+"</a>"},loadBills:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=a.attributes.active;a.attributes.pay_dates.length>0&&n&&this.bills.push(a)}this.error=!1,this.loading=!1}}},$=(0,n.Z)(M,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.bills")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.bills")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("th",{staticStyle:{width:"25%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.next_expected_match")))])])]),t._v(" "),a("tbody",t._l(this.bills,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./bills/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v("\n (~ "),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format((parseFloat(e.attributes.amount_min)+parseFloat(e.attributes.amount_max))/-2)))]),t._v(")\n "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[t._l(e.attributes.paid_dates,(function(e){return a("span",[a("span",{domProps:{innerHTML:t._s(t.renderPaidDate(e))}}),a("br")])})),t._v(" "),t._l(e.attributes.pay_dates,(function(n){return 0===e.attributes.paid_dates.length?a("span",[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(n)))+"\n "),a("br")]):t._e()}))],2)])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./bills"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_bills")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,U={name:"BudgetLimitRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:function(){return{}}},budget:{type:Object,default:function(){return{}}}}},G=(0,n.Z)(U,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),a("td",{staticStyle:{"vertical-align":"middle"}},[a("div",{staticClass:"progress progress active"},[a("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctGreen>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctRed,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),t.budgetLimit.pctGreen<=35&&0===t.budgetLimit.pctOrange&&0===t.budgetLimit.pctRed&&0!==t.budgetLimit.pctGreen?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n   "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),a("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"7988ecb6",null).exports,V={name:"BudgetRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},W={name:"BudgetListGroup",components:{BudgetLimitRow:G,BudgetRow:(0,n.Z)(V,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),a("td",{staticClass:"align-middle text-right"},[a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"2fc8f640",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},K=(0,n.Z)(W,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.title))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.left")))])])]),t._v(" "),a("tbody",[t._l(t.budgetLimits,(function(t,e){return a("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return a("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"2b21deef",null).exports;function Z(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function q(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(a),!0).forEach((function(e){H(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function H(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var Y=(0,r._p)("dashboard/index"),J=(Y.mapState,Y.mapGetters);Y.mapActions,Y.mapMutations;const Q={name:"MainBudgetList",components:{BudgetListGroup:K},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US",ready:!1,loading:!0,error:!1}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},watch:{datesReady:function(t){!0===t&&this.getBudgets()},start:function(){!1===this.loading&&this.getBudgets()},end:function(){!1===this.loading&&this.getBudgets()}},computed:q(q({},J(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),methods:{getBudgets:function(){var t=this;this.budgets={},this.rawBudgets=[],this.budgetLimits={daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},this.loading=!0;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/budgets?start="+e+"&end="+a).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!1===a.attributes.active)continue;for(var n in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=a.attributes.spent[n];this.rawBudgets.push({id:parseInt(a.id),name:a.attributes.name,currency_id:parseInt(s.currency_id),currency_code:s.currency_code,spent:s.sum}),console.log("Added budget "+a.attributes.name+" ("+s.currency_code+")")}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this,e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/budget-limits?start="+e+"&end="+a).then((function(e){t.parseBudgetLimits(e.data),t.loading=!1}))},parseBudgetLimits:function(t){for(var e in t.included)if(t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.included[e],n=parseInt(a.id);this.budgets[n]={id:n,name:a.attributes.name},console.log("Collected meta data: budget #"+n+" is named "+a.attributes.name)}for(var s in t.data)if(t.data.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r,o=t.data[s],i=parseInt(o.id),c=parseInt(o.attributes.budget_id),l=parseInt(o.attributes.currency_id),u=parseFloat(o.attributes.spent),d=-1*parseFloat(o.attributes.spent),_=parseFloat(o.attributes.amount),p=null!==(r=o.attributes.period)&&void 0!==r?r:"other",g=0,h=0,m=0;this.filterBudgets(c,l),0!==u&&d<_&&(g=d/_*100),0!==d&&d>_&&(m=100-(h=d/_*100));var f={id:i,amount:o.attributes.amount,budget_id:c,budget_name:this.budgets[o.attributes.budget_id].name,currency_id:l,currency_code:o.attributes.currency_code,period:o.attributes.period,start:new Date(o.attributes.start),end:new Date(o.attributes.end),spent:o.attributes.spent,pctGreen:g,pctOrange:h,pctRed:m};this.budgetLimits[p].push(f)}},filterBudgets:function(t,e){for(var a in this.rawBudgets)this.rawBudgets.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.rawBudgets[a].currency_id===e&&this.rawBudgets[a].id===t&&(console.log("Budget "+this.rawBudgets[a].name+" with currency "+this.rawBudgets[a].currency_code+" will be removed in favor of a budget limit."),this.rawBudgets.splice(parseInt(a),1))}}},X=(0,n.Z)(Q,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading?t._e():a("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.daily,title:t.$t("firefly.daily_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.weekly,title:t.$t("firefly.weekly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.monthly,title:t.$t("firefly.monthly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.quarterly,title:t.$t("firefly.quarterly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.half_year,title:t.$t("firefly.half_year_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.yearly,title:t.$t("firefly.yearly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets,title:t.$t("firefly.other_budgets")}})],1):t._e()]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])}],!1,null,"66a7692f",null).exports;function tt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function et(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(a),!0).forEach((function(e){at(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):tt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function at(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var nt=(0,r._p)("dashboard/index"),st=(nt.mapState,nt.mapGetters);nt.mapActions,nt.mapMutations;const rt={name:"MainCreditList",data:function(){return{locale:"en-US",income:[],max:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:et(et({},st(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getIncome()},start:function(){!1===this.loading&&this.getIncome()},end:function(){!1===this.loading&&this.getIncome()}},methods:{getIncome:function(){var t=this;this.loading=!0,this.income=[],this.error=!1;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/insight/income/revenue?start="+e+"&end="+a).then((function(e){t.parseIncome(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseIncome:function(t){for(var e in t)if(t.hasOwnProperty(e)){var a=t[e=parseInt(e)];a.pct=0,this.max=a.difference_float>this.max?a.difference_float:this.max,this.income.push(a)}for(var n in 0===this.max&&(this.max=1),this.income)if(this.income.hasOwnProperty(n)){var s=this.income[n];s.pct=s.difference_float/this.max*100,this.income[n]=s}this.income.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},ot=(0,n.Z)(rt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.revenue_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.revenue_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.income,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/deposit"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_deposits")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports;function it(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function ct(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?it(Object(a),!0).forEach((function(e){lt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):it(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function lt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var ut=(0,r._p)("dashboard/index"),dt=(ut.mapState,ut.mapGetters);ut.mapActions,ut.mapMutations;const _t={name:"MainDebitList",data:function(){return{locale:"en-US",expenses:[],min:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:ct(ct({},dt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getExpenses()},start:function(){!1===this.loading&&this.getExpenses()},end:function(){!1===this.loading&&this.getExpenses()}},methods:{getExpenses:function(){var t=this;this.loading=!0,this.error=!1,this.expenses=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/insight/expense/expense?start="+e+"&end="+a).then((function(e){t.parseExpenses(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseExpenses:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];a.pct=0,this.min=a.difference_float<this.min?a.difference_float:this.min,this.expenses.push(a)}for(var n in 0===this.min&&(this.min=-1),this.expenses)if(this.expenses.hasOwnProperty(n)){var s=this.expenses[n];s.pct=-1*s.difference_float/this.min*-1*100,this.expenses[n]=s}this.expenses.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},pt=(0,n.Z)(_t,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.expense_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.expenses,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawal"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_withdrawals")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,gt={name:"MainPiggyList",data:function(){return{piggy_banks:[],loading:!0,error:!1,locale:"en-US"}},created:function(){var t,e=this;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",axios.get("./api/v1/piggy_banks").then((function(t){e.loadPiggyBanks(t.data.data),e.loading=!1})).catch((function(t){e.error=!0}))},methods:{loadPiggyBanks:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];0!==parseFloat(a.attributes.left_to_save)&&(a.attributes.pct=parseFloat(a.attributes.current_amount)/parseFloat(a.attributes.target_amount)*100,this.piggy_banks.push(a))}this.piggy_banks.sort((function(t,e){return e.attributes.pct-t.attributes.pct}))}}},ht=(0,n.Z)(gt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.piggy_banks")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.piggy_banks")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.piggy_bank")))]),t._v(" "),a("th",{staticStyle:{width:"40%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.percentage"))+" "),a("small",[t._v("/ "+t._s(t.$t("list.amount")))])])])]),t._v(" "),a("tbody",t._l(this.piggy_banks,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./piggy-banks/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v(" "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[a("div",{staticClass:"progress-group"},[a("div",{staticClass:"progress progress-sm"},[e.attributes.pct<100?a("div",{staticClass:"progress-bar progress-bar-striped primary",style:{width:e.attributes.pct+"%"}}):t._e(),t._v(" "),100===e.attributes.pct?a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.attributes.pct+"%"}}):t._e()])]),t._v(" "),a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.current_amount))+"\n ")]),t._v("\n of\n "),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.target_amount)))])])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./piggy-banks"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_piggies")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"c17c9a5a",null).exports,mt={name:"TransactionListLarge",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},ft=(0,n.Z)(mt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.category_id?a("a",{attrs:{href:"categories/show/"+e.category_id}},[t._v(t._s(e.category_name))]):t._e(),a("br")])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.budget_id?a("a",{attrs:{href:"budgets/show/"+e.budget_id}},[t._v(t._s(e.budget_name))]):t._e(),a("br")])})),0)])})),0)])}),[],!1,null,"6e420753",null).exports,bt={name:"TransactionListMedium",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},yt=(0,n.Z)(bt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"0d4f7042",null).exports,vt={name:"TransactionListSmall",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},methods:{},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},wt=(0,n.Z)(vt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.attributes.transactions[0].date))}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"4cd7a656",null).exports;var kt=a(9879);function Dt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Ct(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(a),!0).forEach((function(e){xt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Dt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function xt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var St=(0,r._p)("dashboard/index"),jt=(St.mapState,St.mapGetters);St.mapActions,St.mapMutations;const It={name:"MainCategoryList",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0,loading:!0,error:!1}},computed:Ct(Ct({},jt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getCategories()},start:function(){!1===this.loading&&this.getCategories()},end:function(){!1===this.loading&&this.getCategories()}},methods:{getCategories:function(){var t=this;this.categories=[],this.sortedList=[],this.spent=0,this.earned=0,this.loading=!0;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/categories?start="+e+"&end="+a).then((function(e){t.parseCategories(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseCategories:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n=null,s=parseInt(a.id);for(var r in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var o,i=a.attributes.spent[r];n=i.currency_id+"-"+a.id,this.categories[n]=null!==(o=this.categories[n])&&void 0!==o?o:{id:s,name:a.attributes.name,currency_code:i.currency_code,currency_symbol:i.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].spent=parseFloat(i.sum),this.spent=parseFloat(i.sum)<this.spent?parseFloat(i.sum):this.spent}for(var c in a.attributes.earned)if(a.attributes.earned.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l,u=a.attributes.earned[c];n=u.currency_id+"-"+a.id,this.categories[n]=null!==(l=this.categories[n])&&void 0!==l?l:{id:s,name:a.attributes.name,currency_code:u.currency_code,currency_symbol:u.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].earned=parseFloat(u.sum),this.earned=parseFloat(u.sum)>this.earned?parseFloat(u.sum):this.earned}}this.sortCategories()},sortCategories:function(){var t=[];for(var e in this.categories)this.categories.hasOwnProperty(e)&&t.push(this.categories[e]);for(var a in t.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),t)if(t.hasOwnProperty(a)){var n=t[a];n.spentPct=n.spent/this.spent*100,n.earnedPct=n.earned/this.earned*100,this.sortedList.push(n)}}}},zt=(0,n.Z)(It,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.categories")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.sortedList,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.spentPct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{"aria-valuenow":e.spentPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.spentPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?a("span",{staticClass:"progress-label",staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?a("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n  ")]):t._e(),t._v(" "),a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{"aria-valuenow":e.earnedPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar",title:"hello"}},[e.earnedPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"7ea958c9",null).exports;var At=a(7760),Pt=a.n(At),Tt=a(9899);a(232),a(7757),Pt().component("transaction-list-large",ft),Pt().component("transaction-list-medium",yt),Pt().component("transaction-list-small",wt),Pt().component("dashboard",s),Pt().component("top-boxes",_),Pt().component("main-account",j),Pt().component("main-account-list",B),Pt().component("main-bills-list",$),Pt().component("main-budget-list",X),Pt().component("main-category-list",zt),Pt().component("main-debit-list",pt),Pt().component("main-credit-list",ot),Pt().component("main-piggy-list",ht),Pt().use(r.ZP);var Ot=a(157),Bt={};new(Pt())({i18n:Ot,store:Tt.Z,el:"#dashboard",render:function(t){return t(s,{props:Bt})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(Pt())({i18n:Ot,store:Tt.Z,el:"#calendar",render:function(t){return t(kt.Z,{props:Bt})}})},4547:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var n=a(4015),s=a.n(n),r=a(3645),o=a.n(r)()(s());o.push([t.id,".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AA0OA,sEACA,aACA",sourcesContent:['\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class="row">\n <div class="col">Start</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.start) }}</div>\n </div>\n <div class="row">\n <div class="col">End</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model="range"\n :rows="2"\n is-range\n mode="date"\n >\n <template v-slot="{ inputValue, inputEvents, isDragging, togglePopover }">\n <div class="row">\n <div class="col">\n <div class="btn-group btn-group-sm d-flex">\n <button\n :title="$t(\'firefly.custom_period\')" class="btn btn-secondary btn-sm"\n @click="togglePopover({ placement: \'auto-start\', positionFixed: true })"\n ><i class="fas fa-calendar-alt"></i></button>\n <button :title="$t(\'firefly.reset_to_current\')"\n class="btn btn-secondary"\n @click="resetDate"\n ><i class="fas fa-history"></i></button>\n <button id="dropdownMenuButton" :title="$t(\'firefly.select_period\')" aria-expanded="false" aria-haspopup="true" class="btn btn-secondary dropdown-toggle"\n data-toggle="dropdown"\n type="button">\n <i class="fas fa-list"></i>\n </button>\n <div aria-labelledby="dropdownMenuButton" class="dropdown-menu">\n <a v-for="period in periods" class="dropdown-item" href="#" @click="customDate(period.start, period.end)">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on="inputEvents.start"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.start"\n type="hidden"\n />\n <input v-on="inputEvents.end"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.end"\n type="hidden"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from "vuex";\nimport Vue from "vue";\nimport DatePicker from "v-calendar/lib/components/date-picker.umd";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers(\'dashboard/index\')\n\n\nVue.component(\'date-picker\', DatePicker)\n\nexport default {\n name: "Calendar",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? \'en-US\';\n },\n data() {\n return {\n locale: \'en-US\',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n \'setEnd\',\n \'setStart\',\n ],\n ),\n resetDate: function () {\n //console.log(\'Reset date to\');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_seven_days\')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_thirty_days\')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n \'viewRange\',\n \'start\',\n \'end\',\n \'defaultStart\',\n \'defaultEnd\'\n ]),\n \'datesReady\': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log(\'User updated range\');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>'],sourceRoot:""}]);const i=o},5278:()=>{},6700:(t,e,a)=>{var n={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function s(t){var e=r(t);return a(e)}function r(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=r,t.exports=s,s.id=6700},9879:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(629),s=a(7760),r=a.n(s),o=a(6782),i=a.n(o);function c(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?c(Object(a),!0).forEach((function(e){u(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function u(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var d=(0,n._p)("dashboard/index"),_=(d.mapState,d.mapGetters),p=(d.mapActions,d.mapMutations);r().component("date-picker",i());const g={name:"Calendar",created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:l(l({},p(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(t,e){var a=new Date(t),n=new Date(e);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generatePeriods:function(){var t,e;this.periods=[],t=new Date(this.range.start),a=new Date(t.getFullYear(),t.getMonth()-1,1),n=new Date(t.getFullYear(),t.getMonth(),0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),a=new Date(t.getFullYear(),t.getMonth(),1),n=new Date(t.getFullYear(),t.getMonth()+1,0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)});var a=new Date(t.getFullYear(),t.getMonth()+1,1),n=new Date(t.getFullYear(),t.getMonth()+2,0);this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),t=new Date,(e=new Date).setDate(e.getDate()-7),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_seven_days")}),e.setDate(e.getDate()-23),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:l(l({},_(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!1!==t&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(t){this.setStart(t.start),this.setEnd(t.end)}}};a(8394);const h=(0,a(1900).Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("End")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.inputValue,s=e.inputEvents,r=e.isDragging,o=e.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:t.$t("firefly.custom_period")},on:{click:function(t){return o({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:t.$t("firefly.reset_to_current")},on:{click:t.resetDate}},[a("i",{staticClass:"fas fa-history"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:t.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),t._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},t._l(t.periods,(function(e){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return t.customDate(e.start,e.end)}}},[t._v(t._s(e.title))])})),0)]),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},s.start)),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},s.end))])])]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"12891edc",null).exports},8394:(t,e,a)=>{var n=a(4547);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,a(5346).Z)("69ef6cc5",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";var e=e=>t(t.s=e);t.O(0,[879,228],(()=>(e(7396),e(5278)))),t.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[663],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),r=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=r.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function r(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var r=t.getMinutes();r<10&&(r="0"+r);var o=t.getSeconds();o<10&&(o="0"+o);var i=-t.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return i<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+r+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>r})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>p});var n=a(7760),s=a.n(n),r=a(629),o=a(8923),i=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=i(t.defaultTransaction);e.errors=i(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=i(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}},l={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var r=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][r],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var u=function(){return{listPageSize:33}},d={initialiseStore:function(t){localStorage.listPageSize&&(u.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const _={namespaced:!0,state:u,getters:{listPageSize:function(t){return t.listPageSize}},actions:d,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};s().use(r.ZP);const p=new r.ZP.Store({namespaced:!0,modules:{root:_,transactions:{namespaced:!0,modules:{create:c,edit:{namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}}}},accounts:{namespaced:!0,modules:{index:{namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}}}},dashboard:{namespaced:!0,modules:{index:l}}},strict:!1,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},3015:(t,e,a)=>{"use strict";var n=a(1900);const s=(0,n.Z)({name:"Dashboard"},(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("top-boxes"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-account")],1)]),t._v(" "),a("main-account-list"),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-budget-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("main-category-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-debit-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-credit-list")],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-piggy-list")],1),t._v(" "),a("div",{staticClass:"col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("main-bills-list")],1)])],1)}),[],!1,null,null,null).exports;var r=a(629);function o(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function i(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?o(Object(a),!0).forEach((function(e){c(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):o(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function c(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var l=(0,r._p)("dashboard/index"),u=(l.mapState,l.mapGetters);l.mapActions,l.mapMutations;const d={name:"TopBoxes",props:{},data:function(){return{summary:[],balances:[],billsPaid:[],billsUnpaid:[],leftToSpend:[],netWorth:[],loading:!0,error:!1,ready:!1}},computed:i(i({},u(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready},prefCurrencyBalances:function(){return this.filterOnCurrency(this.balances)},notPrefCurrencyBalances:function(){return this.filterOnNotCurrency(this.balances)},prefBillsUnpaid:function(){return this.filterOnCurrency(this.billsUnpaid)},notPrefBillsUnpaid:function(){return this.filterOnNotCurrency(this.billsUnpaid)},prefLeftToSpend:function(){return this.filterOnCurrency(this.leftToSpend)},notPrefLeftToSpend:function(){return this.filterOnNotCurrency(this.leftToSpend)},prefNetWorth:function(){return this.filterOnCurrency(this.netWorth)},notPrefNetWorth:function(){return this.filterOnNotCurrency(this.netWorth)},currencyCode:function(){return this.$store.getters.currencyCode},currencyId:function(){return this.$store.getters.currencyId}}),watch:{datesReady:function(t){!0===t&&this.prepareComponent()},start:function(){!1===this.loading&&this.prepareComponent()},end:function(){!1===this.loading&&this.prepareComponent()}},created:function(){this.ready=!0},methods:{filterOnCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id===this.currencyId&&e.push(t[a]);return 0===e.length&&t.hasOwnProperty(0)&&e.push(t[0]),e},filterOnNotCurrency:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&t[a].currency_id!==this.currencyId&&e.push(t[a]);return e},prepareComponent:function(){var t=this;this.error=!1,this.loading=!0,this.summary=[],this.balances=[],this.billsPaid=[],this.billsUnpaid=[],this.leftToSpend=[],this.netWorth=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/summary/basic?start="+e+"&end="+a).then((function(e){t.summary=e.data,t.buildComponent(),t.loading=!1})).catch((function(e){t.error=!0}))},buildComponent:function(){this.getBalanceEntries(),this.getBillsEntries(),this.getLeftToSpend(),this.getNetWorth()},hasCurrency:function(t){for(var e in t)if(t.hasOwnProperty(e)&&t[e].currency_id===this.currencyId)return!0;return!1},getBalanceEntries:function(){this.balances=this.getKeyedEntries("balance-in-")},getNetWorth:function(){this.netWorth=this.getKeyedEntries("net-worth-in-")},getLeftToSpend:function(){this.leftToSpend=this.getKeyedEntries("left-to-spend-in-")},getBillsEntries:function(){this.billsPaid=this.getKeyedEntries("bills-paid-in-"),this.billsUnpaid=this.getKeyedEntries("bills-unpaid-in-")},getKeyedEntries:function(t){var e=[];for(var a in this.summary)this.summary.hasOwnProperty(a)&&t===a.substr(0,t.length)&&e.push(this.summary[a]);return e}}},_=(0,n.Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(0),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.balance")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefCurrencyBalances,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(1),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefCurrencyBalances,(function(e,n){return a("span",{attrs:{title:e.sub_title}},[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefCurrencyBalances.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefCurrencyBalances.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(2),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.bills_to_pay")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefBillsUnpaid,(function(e){return a("span",{staticClass:"info-box-number"},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(3),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefBillsUnpaid,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefBillsUnpaid.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefBillsUnpaid.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(4),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.left_to_spend")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefLeftToSpend,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(5),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefLeftToSpend,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefLeftToSpend.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefLeftToSpend.length?a("span",[t._v(" ")]):t._e()],2)],2)])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"info-box"},[t._m(6),t._v(" "),a("div",{staticClass:"info-box-content"},[t.loading||t.error?t._e():a("span",{staticClass:"info-box-text"},[t._v(t._s(t.$t("firefly.net_worth")))]),t._v(" "),t.loading&&!t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("span",{staticClass:"info-box-text"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e(),t._v(" "),t._l(t.prefNetWorth,(function(e){return a("span",{staticClass:"info-box-number",attrs:{title:e.sub_title}},[t._v(t._s(e.value_parsed))])})),t._v(" "),t._m(7),t._v(" "),a("span",{staticClass:"progress-description"},[t._l(t.notPrefNetWorth,(function(e,n){return a("span",[t._v("\n "+t._s(e.value_parsed)),n+1!==t.notPrefNetWorth.length?a("span",[t._v(", ")]):t._e()])})),t._v(" "),0===t.notPrefNetWorth.length?a("span",[t._v(" ")]):t._e()],2)],2)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-bookmark text-info"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-info"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"far fa-calendar-alt text-teal"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-teal"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])},function(){var t=this.$createElement,e=this._self._c||t;return e("span",{staticClass:"info-box-icon"},[e("i",{staticClass:"fas fa-money-bill text-success"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"progress bg-success"},[e("div",{staticClass:"progress-bar",staticStyle:{width:"0"}})])}],!1,null,null,null).exports,p={name:"DataConverter",data:function(){return{dataSet:null,newDataSet:null,locale:localStorage.local}},methods:{convertChart:function(t){return this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]},this.getLabels(),this.getDataSets(),this.newDataSet.count=this.newDataSet.datasets.length,this.newDataSet},colorizeBarData:function(t){this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var s in this.newDataSet.labels=this.dataSet.labels,this.newDataSet.count=this.dataSet.count,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(s)){var r=this.dataSet.datasets[s];r.fill=!1,r.backgroundColor=r.borderColor=a[s],this.newDataSet.datasets.push(r)}return this.newDataSet},colorizeLineData:function(t){this.dataSet=t,this.newDataSet={count:0,labels:[],datasets:[]};for(var e=[[53,124,165],[0,141,76],[219,139,11],[202,25,90],[85,82,153],[66,133,244],[219,68,55],[244,180,0],[15,157,88],[171,71,188],[0,172,193],[255,112,67],[158,157,36],[92,107,192],[240,98,146],[0,121,107],[194,24,91]],a=[],n=0;n<e.length;n++)a.push("rgba("+e[n][0]+", "+e[n][1]+", "+e[n][2]+", 0.5)");for(var s in this.newDataSet.labels=this.dataSet.labels,this.newDataSet.count=this.dataSet.count,this.dataSet.datasets)if(this.dataSet.datasets.hasOwnProperty(s)){var r=this.dataSet.datasets[s];r.fill=!1,r.backgroundColor=r.borderColor=a[s],this.newDataSet.datasets.push(r)}return this.newDataSet},convertLabelsToDate:function(t){for(var e in t.labels)if(t.labels.hasOwnProperty(e)){var a=Date.parse(t.labels[e]);t.labels[e]=new Intl.DateTimeFormat(this.locale).format(a)}return t},getLabels:function(){var t=this.dataSet[0];if(void 0!==t)for(var e in t.entries)t.entries.hasOwnProperty(e)&&this.newDataSet.labels.push(e)},getDataSets:function(){for(var t in this.dataSet)if(this.dataSet.hasOwnProperty(t)){var e={},a=this.dataSet[t];if(void 0!==a){for(var n in e.label=a.label,e.type=a.type,e.currency_symbol=a.currency_symbol,e.currency_code=a.currency_code,e.yAxisID=a.yAxisID,e.data=[],a.entries)a.entries.hasOwnProperty(n)&&e.data.push(a.entries[n]);this.newDataSet.datasets.push(e)}}}}},g=(0,n.Z)(p,void 0,void 0,!1,null,null,null).exports,h={name:"DefaultLineOptions",data:function(){return{}},methods:{formatLabel:function(t,e){var a=[],n=(t=String(t)).split(" "),s="";return n.forEach((function(t,r){if(s.length>0){var o=s+" "+t;if(!(o.length>e))return r===n.length-1?void a.push(o):void(s=o);a.push(s),s=""}r!==n.length-1&&t.length<e?s=t:a.push(t)})),a},getDefaultOptions:function(){var t=this;return{legend:{display:!1},animation:{duration:0},responsive:!0,maintainAspectRatio:!1,elements:{line:{cubicInterpolationMode:"monotone"}},scales:{xAxes:[{gridLines:{display:!1},ticks:{callback:function(e,a,n){var s=new Date(e),r=new Intl.DateTimeFormat(localStorage.locale,{year:"numeric",month:"long",day:"numeric"}).format(s);return t.formatLabel(r,20)}}}],yAxes:[{display:!0,ticks:{callback:function(t){var e=this.chart.data.datasets[0].currency_code?this.chart.data.datasets[0].currency_code:"EUR";return new Intl.NumberFormat(localStorage.locale,{style:"currency",currency:e}).format(t)},beginAtZero:!0}}]},tooltips:{mode:"index",callbacks:{label:function(t,e){var a=e.datasets[t.datasetIndex].currency_code?e.datasets[t.datasetIndex].currency_code:"EUR",n=new Intl.NumberFormat(localStorage.locale,{style:"currency",currency:a}).format(t.yLabel);return e.datasets[t.datasetIndex].label+": "+n}}}}}}},m=(0,n.Z)(h,(function(){var t=this.$createElement;return(this._self._c||t)("div")}),[],!1,null,"5f7e90aa",null).exports;var f=a(7297),b=f.tA.reactiveProp;const y={extends:f.x1,mixins:[b],props:["options"],mounted:function(){this.renderChart(this.chartData,this.options)}},v=(0,n.Z)(y,void 0,void 0,!1,null,null,null).exports;function w(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function k(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?w(Object(a),!0).forEach((function(e){D(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):w(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function D(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var C=(0,r._p)("dashboard/index"),x=(C.mapState,C.mapGetters);C.mapActions,C.mapMutations;const S={name:"MainAccount",components:{MainAccountChart:v},data:function(){return{loading:!0,error:!1,ready:!1,dataCollection:{},chartOptions:{}}},created:function(){this.ready=!0,this.chartOptions=m.methods.getDefaultOptions()},computed:k(k({},x(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseChart()},start:function(){this.initialiseChart()},end:function(){this.initialiseChart()}},methods:{initialiseChart:function(){var t=this;this.loading=!0,this.error=!1;var e="./api/v1/chart/account/overview?start="+this.start.toISOString().split("T")[0]+"&end="+this.end.toISOString().split("T")[0];axios.get(e).then((function(e){var a=g.methods.convertChart(e.data);a=g.methods.colorizeLineData(a),t.dataCollection=a,t.loading=!1})).catch((function(e){t.error=!0}))}}},j=(0,n.Z)(S,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.yourAccounts")))])]),t._v(" "),a("div",{staticClass:"card-body"},[t.loading?t._e():a("div",[t.loading||t.error?t._e():a("MainAccountChart",{attrs:{"chart-data":t.dataCollection,options:t.chartOptions}})],1),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.error?a("div",{staticClass:"text-center"},[a("i",{staticClass:"fas fa-exclamation-triangle text-danger"})]):t._e()]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./accounts/asset"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_asset_accounts")))])])])}),[],!1,null,null,null).exports;function I(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function z(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?I(Object(a),!0).forEach((function(e){A(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):I(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function A(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var P=(0,r._p)("dashboard/index"),T=(P.mapState,P.mapGetters);P.mapActions,P.mapMutations;const O={name:"MainAccountList",data:function(){return{loading:!0,error:!1,ready:!1,accounts:[],locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:z(z({},T(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseList()},start:function(){!1===this.loading&&this.initialiseList()},end:function(){!1===this.loading&&this.initialiseList()}},methods:{initialiseList:function(){var t=this;this.loading=!0,this.accounts=[],axios.get("./api/v1/preferences/frontpageAccounts").then((function(e){t.loadAccounts(e)}))},loadAccounts:function(t){var e=t.data.data.attributes.data;for(var a in e)e.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&(this.accounts.push({id:e[a],title:"",url:"",include:!1,current_balance:"0",currency_code:"EUR",transactions:[]}),this.loadSingleAccount(a,e[a]))},loadSingleAccount:function(t,e){var a=this;axios.get("./api/v1/accounts/"+e).then((function(n){var s=n.data.data;"asset"!==s.attributes.type&&"liabilities"!==s.attributes.type||(a.accounts[t].title=s.attributes.name,a.accounts[t].url="./accounts/show/"+s.id,a.accounts[t].current_balance=s.attributes.current_balance,a.accounts[t].currency_code=s.attributes.currency_code,a.accounts[t].include=!0,a.loadTransactions(t,e))}))},loadTransactions:function(t,e){var a=this,n=this.start.toISOString().split("T")[0],s=this.end.toISOString().split("T")[0];axios.get("./api/v1/accounts/"+e+"/transactions?page=1&limit=10&start="+n+"&end="+s).then((function(e){a.accounts[t].transactions=e.data.data,a.loading=!1,a.error=!1}))}}},B=(0,n.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"row"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"row"},t._l(t.accounts,(function(e){return a("div",{class:{"col-lg-12":1===t.accounts.length,"col-lg-6":2===t.accounts.length,"col-lg-4":t.accounts.length>2}},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[a("a",{attrs:{href:e.url}},[t._v(t._s(e.title))])]),t._v(" "),a("div",{staticClass:"card-tools"},[a("span",{class:parseFloat(e.current_balance)<0?"text-danger":"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.current_balance)))+"\n ")])])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("div",[1===t.accounts.length?a("transaction-list-large",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),2===t.accounts.length?a("transaction-list-medium",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e(),t._v(" "),t.accounts.length>2?a("transaction-list-small",{attrs:{account_id:e.id,transactions:e.transactions}}):t._e()],1)])])])})),0)])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])])])])}],!1,null,"3b8050c6",null).exports;function L(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function R(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?L(Object(a),!0).forEach((function(e){E(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):L(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function E(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var N=(0,r._p)("dashboard/index"),F=(N.mapState,N.mapGetters);N.mapActions,N.mapMutations;const M={name:"MainBillsList",data:function(){return{bills:[],locale:"en-US",ready:!1,loading:!0,error:!1}},computed:R(R({},F(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.initialiseBills()},start:function(){!1===this.loading&&this.initialiseBills()},end:function(){!1===this.loading&&this.initialiseBills()}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},components:{},methods:{initialiseBills:function(){var t=this;this.loading=!0,this.bills=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/bills?start="+e+"&end="+a).then((function(e){t.loadBills(e.data.data)})).catch((function(e){t.error=!0,t.loading=!1}))},renderPaidDate:function(t){var e=new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(t.date)),a=this.$t("firefly.bill_paid_on",{date:e});return'<a href="./transactions/show/'+t.transaction_group_id+'" title="'+a+'">'+a+"</a>"},loadBills:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e],n=a.attributes.active;a.attributes.pay_dates.length>0&&n&&this.bills.push(a)}this.error=!1,this.loading=!1}}},$=(0,n.Z)(M,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.bills")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.bills")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("th",{staticStyle:{width:"25%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.next_expected_match")))])])]),t._v(" "),a("tbody",t._l(this.bills,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./bills/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v("\n (~ "),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format((parseFloat(e.attributes.amount_min)+parseFloat(e.attributes.amount_max))/-2)))]),t._v(")\n "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[t._l(e.attributes.paid_dates,(function(e){return a("span",[a("span",{domProps:{innerHTML:t._s(t.renderPaidDate(e))}}),a("br")])})),t._v(" "),t._l(e.attributes.pay_dates,(function(n){return 0===e.attributes.paid_dates.length?a("span",[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(n)))+"\n "),a("br")]):t._e()}))],2)])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./bills"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_bills")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,U={name:"BudgetLimitRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budgetLimit:{type:Object,default:function(){return{}}},budget:{type:Object,default:function(){return{}}}}},G=(0,n.Z)(U,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budgetLimit.budget_id}},[t._v(t._s(t.budgetLimit.budget_name))])]),t._v(" "),a("td",{staticStyle:{"vertical-align":"middle"}},[a("div",{staticClass:"progress progress active"},[a("div",{staticClass:"progress-bar bg-success progress-bar-striped",style:"width: "+t.budgetLimit.pctGreen+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctGreen,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctGreen>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-warning progress-bar-striped",style:"width: "+t.budgetLimit.pctOrange+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctOrange,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctRed<=50&&t.budgetLimit.pctOrange>35?a("span",[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("div",{staticClass:"progress-bar bg-danger progress-bar-striped",style:"width: "+t.budgetLimit.pctRed+"%;",attrs:{"aria-valuenow":t.budgetLimit.pctRed,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[t.budgetLimit.pctOrange<=50&&t.budgetLimit.pctRed>35?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),t.budgetLimit.pctGreen<=35&&0===t.budgetLimit.pctOrange&&0===t.budgetLimit.pctRed&&0!==t.budgetLimit.pctGreen?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n   "+t._s(t.$t("firefly.spent_x_of_y",{amount:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.spent),total:Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(t.budgetLimit.amount)}))+"\n ")]):t._e()]),t._v(" "),a("small",{staticClass:"d-none d-lg-block"},[t._v("\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.start))+"\n →\n "+t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.budgetLimit.end))+"\n ")])]),t._v(" "),a("td",{staticClass:"align-middle d-none d-lg-table-cell",staticStyle:{width:"10%"}},[parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)>0?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e(),t._v(" "),0===parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(0))+"\n ")]):t._e(),t._v(" "),parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)<0?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budgetLimit.currency_code}).format(parseFloat(t.budgetLimit.amount)+parseFloat(t.budgetLimit.spent)))+"\n ")]):t._e()])])}),[],!1,null,"7988ecb6",null).exports,V={name:"BudgetRow",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US"}},props:{budget:{type:Object,default:{}}}},W={name:"BudgetListGroup",components:{BudgetLimitRow:G,BudgetRow:(0,n.Z)(V,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("tr",[a("td",{staticStyle:{width:"25%"}},[a("a",{attrs:{href:"./budgets/show/"+t.budget.id}},[t._v(t._s(t.budget.name))])]),t._v(" "),a("td",{staticClass:"align-middle text-right"},[a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:t.budget.currency_code}).format(parseFloat(t.budget.spent)))+"\n ")])])])}),[],!1,null,"2fc8f640",null).exports},props:{title:String,budgetLimits:Array,budgets:Array}},K=(0,n.Z)(W,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.title))])]),t._v(" "),a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.title))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.left")))])])]),t._v(" "),a("tbody",[t._l(t.budgetLimits,(function(t,e){return a("BudgetLimitRow",{key:e,attrs:{budgetLimit:t}})})),t._v(" "),t._l(t.budgets,(function(t,e){return a("BudgetRow",{key:e,attrs:{budget:t}})}))],2)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[],!1,null,"2b21deef",null).exports;function Z(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function q(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(a),!0).forEach((function(e){H(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Z(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function H(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var Y=(0,r._p)("dashboard/index"),J=(Y.mapState,Y.mapGetters);Y.mapActions,Y.mapMutations;const Q={name:"MainBudgetList",components:{BudgetListGroup:K},data:function(){return{budgetList:["daily","weekly","monthly","quarterly","half_year","yearly","other"],budgetLimits:{daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},budgets:{},rawBudgets:[],locale:"en-US",ready:!1,loading:!0,error:!1}},created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},watch:{datesReady:function(t){!0===t&&this.getBudgets()},start:function(){!1===this.loading&&this.getBudgets()},end:function(){!1===this.loading&&this.getBudgets()}},computed:q(q({},J(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),methods:{getBudgets:function(){var t=this;this.budgets={},this.rawBudgets=[],this.budgetLimits={daily:[],weekly:[],monthly:[],quarterly:[],half_year:[],yearly:[],other:[]},this.loading=!0;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/budgets?start="+e+"&end="+a).then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!1===a.attributes.active)continue;for(var n in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=a.attributes.spent[n];this.rawBudgets.push({id:parseInt(a.id),name:a.attributes.name,currency_id:parseInt(s.currency_id),currency_code:s.currency_code,spent:s.sum}),console.log("Added budget "+a.attributes.name+" ("+s.currency_code+")")}}this.getBudgetLimits()},getBudgetLimits:function(){var t=this,e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/budget-limits?start="+e+"&end="+a).then((function(e){t.parseBudgetLimits(e.data),t.loading=!1}))},parseBudgetLimits:function(t){for(var e in t.included)if(t.included.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.included[e],n=parseInt(a.id);this.budgets[n]={id:n,name:a.attributes.name},console.log("Collected meta data: budget #"+n+" is named "+a.attributes.name)}for(var s in t.data)if(t.data.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var r,o=t.data[s],i=parseInt(o.id),c=parseInt(o.attributes.budget_id),l=parseInt(o.attributes.currency_id),u=parseFloat(o.attributes.spent),d=-1*parseFloat(o.attributes.spent),_=parseFloat(o.attributes.amount),p=null!==(r=o.attributes.period)&&void 0!==r?r:"other",g=0,h=0,m=0;this.filterBudgets(c,l),0!==u&&d<_&&(g=d/_*100),0!==d&&d>_&&(m=100-(h=d/_*100));var f={id:i,amount:o.attributes.amount,budget_id:c,budget_name:this.budgets[o.attributes.budget_id].name,currency_id:l,currency_code:o.attributes.currency_code,period:o.attributes.period,start:new Date(o.attributes.start),end:new Date(o.attributes.end),spent:o.attributes.spent,pctGreen:g,pctOrange:h,pctRed:m};this.budgetLimits[p].push(f)}},filterBudgets:function(t,e){for(var a in this.rawBudgets)this.rawBudgets.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.rawBudgets[a].currency_id===e&&this.rawBudgets[a].id===t&&(console.log("Budget "+this.rawBudgets[a].name+" with currency "+this.rawBudgets[a].currency_code+" will be removed in favor of a budget limit."),this.rawBudgets.splice(parseInt(a),1))}}},X=(0,n.Z)(Q,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[t.loading?t._e():a("div",{staticClass:"row"},[t.budgetLimits.daily.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.daily,title:t.$t("firefly.daily_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.weekly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.weekly,title:t.$t("firefly.weekly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.monthly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.monthly,title:t.$t("firefly.monthly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.quarterly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.quarterly,title:t.$t("firefly.quarterly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.half_year.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.half_year,title:t.$t("firefly.half_year_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.yearly.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.yearly,title:t.$t("firefly.yearly_budgets")}})],1):t._e(),t._v(" "),t.budgetLimits.other.length>0||t.rawBudgets.length>0?a("div",{staticClass:"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("BudgetListGroup",{attrs:{budgetLimits:t.budgetLimits.other,budgets:t.rawBudgets,title:t.$t("firefly.other_budgets")}})],1):t._e()]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"row"},[t._m(0)]):t._e()])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"col"},[e("div",{staticClass:"card"},[e("div",{staticClass:"card-body"},[e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])])])])}],!1,null,"66a7692f",null).exports;function tt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function et(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?tt(Object(a),!0).forEach((function(e){at(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):tt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function at(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var nt=(0,r._p)("dashboard/index"),st=(nt.mapState,nt.mapGetters);nt.mapActions,nt.mapMutations;const rt={name:"MainCreditList",data:function(){return{locale:"en-US",income:[],max:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:et(et({},st(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getIncome()},start:function(){!1===this.loading&&this.getIncome()},end:function(){!1===this.loading&&this.getIncome()}},methods:{getIncome:function(){var t=this;this.loading=!0,this.income=[],this.error=!1;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/insight/income/revenue?start="+e+"&end="+a).then((function(e){t.parseIncome(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseIncome:function(t){for(var e in t)if(t.hasOwnProperty(e)){var a=t[e=parseInt(e)];a.pct=0,this.max=a.difference_float>this.max?a.difference_float:this.max,this.income.push(a)}for(var n in 0===this.max&&(this.max=1),this.income)if(this.income.hasOwnProperty(n)){var s=this.income[n];s.pct=s.difference_float/this.max*100,this.income[n]=s}this.income.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},ot=(0,n.Z)(rt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.revenue_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.revenue_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.income,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/deposit"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_deposits")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports;function it(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function ct(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?it(Object(a),!0).forEach((function(e){lt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):it(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function lt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var ut=(0,r._p)("dashboard/index"),dt=(ut.mapState,ut.mapGetters);ut.mapActions,ut.mapMutations;const _t={name:"MainDebitList",data:function(){return{locale:"en-US",expenses:[],min:0,loading:!0,error:!1}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},computed:ct(ct({},dt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getExpenses()},start:function(){!1===this.loading&&this.getExpenses()},end:function(){!1===this.loading&&this.getExpenses()}},methods:{getExpenses:function(){var t=this;this.loading=!0,this.error=!1,this.expenses=[];var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/insight/expense/expense?start="+e+"&end="+a).then((function(e){t.parseExpenses(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseExpenses:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];a.pct=0,this.min=a.difference_float<this.min?a.difference_float:this.min,this.expenses.push(a)}for(var n in 0===this.min&&(this.min=-1),this.expenses)if(this.expenses.hasOwnProperty(n)){var s=this.expenses[n];s.pct=-1*s.difference_float/this.min*-1*100,this.expenses[n]=s}this.expenses.sort((function(t,e){return t.pct>e.pct?-1:e.pct>t.pct?1:0}))}}},pt=(0,n.Z)(_t,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.expense_accounts")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.expense_accounts")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.expenses,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./accounts/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.pct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.pct+"%"},attrs:{"aria-valuenow":e.pct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.pct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]),t._v(" "),e.pct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.difference_float))+"\n ")]):t._e()]):t._e()])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./transactions/withdrawal"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_withdrawals")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,null,null).exports,gt={name:"MainPiggyList",data:function(){return{piggy_banks:[],loading:!0,error:!1,locale:"en-US"}},created:function(){var t,e=this;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",axios.get("./api/v1/piggy_banks").then((function(t){e.loadPiggyBanks(t.data.data),e.loading=!1})).catch((function(t){e.error=!0}))},methods:{loadPiggyBanks:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];0!==parseFloat(a.attributes.left_to_save)&&(a.attributes.pct=parseFloat(a.attributes.current_amount)/parseFloat(a.attributes.target_amount)*100,this.piggy_banks.push(a))}this.piggy_banks.sort((function(t,e){return e.attributes.pct-t.attributes.pct}))}}},ht=(0,n.Z)(gt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.piggy_banks")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.piggy_banks")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"35%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.piggy_bank")))]),t._v(" "),a("th",{staticStyle:{width:"40%"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.percentage"))+" "),a("small",[t._v("/ "+t._s(t.$t("list.amount")))])])])]),t._v(" "),a("tbody",t._l(this.piggy_banks,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"./piggy-banks/show/"+e.id,title:e.attributes.name}},[t._v(t._s(e.attributes.name))]),t._v(" "),e.attributes.object_group_title?a("small",{staticClass:"text-muted"},[a("br"),t._v("\n "+t._s(e.attributes.object_group_title)+"\n ")]):t._e()]),t._v(" "),a("td",[a("div",{staticClass:"progress-group"},[a("div",{staticClass:"progress progress-sm"},[e.attributes.pct<100?a("div",{staticClass:"progress-bar progress-bar-striped primary",style:{width:e.attributes.pct+"%"}}):t._e(),t._v(" "),100===e.attributes.pct?a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.attributes.pct+"%"}}):t._e()])]),t._v(" "),a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.current_amount))+"\n ")]),t._v("\n of\n "),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.attributes.currency_code}).format(e.attributes.target_amount)))])])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[a("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./piggy-banks"}},[a("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_piggies")))])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"c17c9a5a",null).exports,mt={name:"TransactionListLarge",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},ft=(0,n.Z)(mt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.budget")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.category_id?a("a",{attrs:{href:"categories/show/"+e.category_id}},[t._v(t._s(e.category_name))]):t._e(),a("br")])})),0),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",[0!==e.budget_id?a("a",{attrs:{href:"budgets/show/"+e.budget_id}},[t._v(t._s(e.budget_name))]):t._e(),a("br")])})),0)])})),0)])}),[],!1,null,"6e420753",null).exports,bt={name:"TransactionListMedium",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},yt=(0,n.Z)(bt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.opposing_account")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:e.date}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"deposit"===e.type?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("a",{attrs:{href:"accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]):t._e(),t._v(" "),a("br")])})),0),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"0d4f7042",null).exports,vt={name:"TransactionListSmall",data:function(){return{locale:"en-US"}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},methods:{},props:{transactions:{type:Array,default:function(){return[]}},account_id:{type:Number,default:function(){return 0}}}},wt=(0,n.Z)(vt,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("table",{staticClass:"table table-striped table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.transaction_table_description")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticClass:"text-left",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.description")))]),t._v(" "),a("th",{staticClass:"text-right",attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.amount")))])])]),t._v(" "),a("tbody",t._l(this.transactions,(function(e){return a("tr",[a("td",[a("a",{attrs:{href:"transactions/show/"+e.id,title:new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(new Date(e.attributes.transactions[0].date))}},[e.attributes.transactions.length>1?a("span",[t._v(t._s(e.attributes.group_title))]):t._e(),t._v(" "),1===e.attributes.transactions.length?a("span",[t._v(t._s(e.attributes.transactions[0].description))]):t._e()])]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},t._l(e.attributes.transactions,(function(e){return a("span",["withdrawal"===e.type?a("span",{staticClass:"text-danger"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"deposit"===e.type?a("span",{staticClass:"text-success"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.source_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*e.amount))),a("br")]):t._e(),t._v(" "),"transfer"===e.type&&parseInt(e.destination_id)===t.account_id?a("span",{staticClass:"text-info"},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.amount))),a("br")]):t._e()])})),0)])})),0)])}),[],!1,null,"4cd7a656",null).exports;var kt=a(9879);function Dt(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function Ct(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?Dt(Object(a),!0).forEach((function(e){xt(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):Dt(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function xt(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var St=(0,r._p)("dashboard/index"),jt=(St.mapState,St.mapGetters);St.mapActions,St.mapMutations;const It={name:"MainCategoryList",created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.ready=!0},data:function(){return{locale:"en-US",categories:[],sortedList:[],spent:0,earned:0,loading:!0,error:!1}},computed:Ct(Ct({},jt(["start","end"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!0===t&&this.getCategories()},start:function(){!1===this.loading&&this.getCategories()},end:function(){!1===this.loading&&this.getCategories()}},methods:{getCategories:function(){var t=this;this.categories=[],this.sortedList=[],this.spent=0,this.earned=0,this.loading=!0;var e=this.start.toISOString().split("T")[0],a=this.end.toISOString().split("T")[0];axios.get("./api/v1/categories?start="+e+"&end="+a).then((function(e){t.parseCategories(e.data),t.loading=!1})).catch((function(e){t.error=!0}))},parseCategories:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n=null,s=parseInt(a.id);for(var r in a.attributes.spent)if(a.attributes.spent.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var o,i=a.attributes.spent[r];n=i.currency_id+"-"+a.id,this.categories[n]=null!==(o=this.categories[n])&&void 0!==o?o:{id:s,name:a.attributes.name,currency_code:i.currency_code,currency_symbol:i.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].spent=parseFloat(i.sum),this.spent=parseFloat(i.sum)<this.spent?parseFloat(i.sum):this.spent}for(var c in a.attributes.earned)if(a.attributes.earned.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l,u=a.attributes.earned[c];n=u.currency_id+"-"+a.id,this.categories[n]=null!==(l=this.categories[n])&&void 0!==l?l:{id:s,name:a.attributes.name,currency_code:u.currency_code,currency_symbol:u.currency_symbol,spent:0,earned:0,spentPct:0,earnedPct:0},this.categories[n].earned=parseFloat(u.sum),this.earned=parseFloat(u.sum)>this.earned?parseFloat(u.sum):this.earned}}this.sortCategories()},sortCategories:function(){var t=[];for(var e in this.categories)this.categories.hasOwnProperty(e)&&t.push(this.categories[e]);for(var a in t.sort((function(t,e){return t.spent+t.earned-(e.spent+e.earned)})),t)if(t.hasOwnProperty(a)){var n=t[a];n.spentPct=n.spent/this.spent*100,n.earnedPct=n.earned/this.earned*100,this.sortedList.push(n)}}}},zt=(0,n.Z)(It,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),t.loading&&!t.error?a("div",{staticClass:"card-body"},[t._m(0)]):t._e(),t._v(" "),t.error?a("div",{staticClass:"card-body"},[t._m(1)]):t._e(),t._v(" "),t.loading||t.error?t._e():a("div",{staticClass:"card-body table-responsive p-0"},[a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.categories")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.category")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.spent")))])])]),t._v(" "),a("tbody",t._l(t.sortedList,(function(e){return a("tr",[a("td",{staticStyle:{width:"20%"}},[a("a",{attrs:{href:"./categories/show/"+e.id}},[t._v(t._s(e.name))])]),t._v(" "),a("td",{staticClass:"align-middle"},[e.spentPct>0?a("div",{staticClass:"progress"},[a("div",{staticClass:"progress-bar progress-bar-striped bg-danger",style:{width:e.spentPct+"%"},attrs:{"aria-valuenow":e.spentPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar"}},[e.spentPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]),t._v(" "),e.spentPct<=20?a("span",{staticClass:"progress-label",staticStyle:{"line-height":"16px"}},[t._v(" \n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.spent))+"\n ")]):t._e()]):t._e(),t._v(" "),e.earnedPct>0?a("div",{staticClass:"progress justify-content-end",attrs:{title:"hello2"}},[e.earnedPct<=20?a("span",{staticStyle:{"line-height":"16px"}},[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n  ")]):t._e(),t._v(" "),a("div",{staticClass:"progress-bar progress-bar-striped bg-success",style:{width:e.earnedPct+"%"},attrs:{"aria-valuenow":e.earnedPct,"aria-valuemax":"100","aria-valuemin":"0",role:"progressbar",title:"hello"}},[e.earnedPct>20?a("span",[t._v("\n "+t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(e.earned))+"\n ")]):t._e()])]):t._e()])])})),0)])])])}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-spinner fa-spin"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"text-center"},[e("i",{staticClass:"fas fa-exclamation-triangle text-danger"})])}],!1,null,"7ea958c9",null).exports;var At=a(7760),Pt=a.n(At),Tt=a(9899);a(232),a(7757),Pt().component("transaction-list-large",ft),Pt().component("transaction-list-medium",yt),Pt().component("transaction-list-small",wt),Pt().component("dashboard",s),Pt().component("top-boxes",_),Pt().component("main-account",j),Pt().component("main-account-list",B),Pt().component("main-bills-list",$),Pt().component("main-budget-list",X),Pt().component("main-category-list",zt),Pt().component("main-debit-list",pt),Pt().component("main-credit-list",ot),Pt().component("main-piggy-list",ht),Pt().use(r.ZP);var Ot=a(157),Bt={};new(Pt())({i18n:Ot,store:Tt.Z,el:"#dashboard",render:function(t){return t(s,{props:Bt})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference"),this.$store.dispatch("root/initialiseStore"),this.$store.dispatch("dashboard/index/initialiseStore")}}),new(Pt())({i18n:Ot,store:Tt.Z,el:"#calendar",render:function(t){return t(kt.Z,{props:Bt})}})},4547:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>i});var n=a(4015),s=a.n(n),r=a(3645),o=a.n(r)()(s());o.push([t.id,".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}","",{version:3,sources:["webpack://./src/components/dashboard/Calendar.vue"],names:[],mappings:"AA0OA,sEACA,aACA",sourcesContent:['\x3c!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div>\n <div class="row">\n <div class="col">Start</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.start) }}</div>\n </div>\n <div class="row">\n <div class="col">End</div>\n <div class="col-8">{{ new Intl.DateTimeFormat(locale, {year: \'numeric\', month: \'long\', day: \'numeric\'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model="range"\n :rows="2"\n is-range\n mode="date"\n >\n <template v-slot="{ inputValue, inputEvents, isDragging, togglePopover }">\n <div class="row">\n <div class="col">\n <div class="btn-group btn-group-sm d-flex">\n <button\n :title="$t(\'firefly.custom_period\')" class="btn btn-secondary btn-sm"\n @click="togglePopover({ placement: \'auto-start\', positionFixed: true })"\n ><i class="fas fa-calendar-alt"></i></button>\n <button :title="$t(\'firefly.reset_to_current\')"\n class="btn btn-secondary"\n @click="resetDate"\n ><i class="fas fa-history"></i></button>\n <button id="dropdownMenuButton" :title="$t(\'firefly.select_period\')" aria-expanded="false" aria-haspopup="true" class="btn btn-secondary dropdown-toggle"\n data-toggle="dropdown"\n type="button">\n <i class="fas fa-list"></i>\n </button>\n <div aria-labelledby="dropdownMenuButton" class="dropdown-menu">\n <a v-for="period in periods" class="dropdown-item" href="#" @click="customDate(period.start, period.end)">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on="inputEvents.start"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.start"\n type="hidden"\n />\n <input v-on="inputEvents.end"\n :class="isDragging ? \'text-gray-600\' : \'text-gray-900\'"\n :value="inputValue.end"\n type="hidden"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from "vuex";\nimport Vue from "vue";\nimport DatePicker from "v-calendar/lib/components/date-picker.umd";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers(\'dashboard/index\')\n\n\nVue.component(\'date-picker\', DatePicker)\n\nexport default {\n name: "Calendar",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? \'en-US\';\n },\n data() {\n return {\n locale: \'en-US\',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n \'setEnd\',\n \'setStart\',\n ],\n ),\n resetDate: function () {\n //console.log(\'Reset date to\');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: \'numeric\', month: \'long\'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_seven_days\')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t(\'firefly.last_thirty_days\')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n \'viewRange\',\n \'start\',\n \'end\',\n \'defaultStart\',\n \'defaultEnd\'\n ]),\n \'datesReady\': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log(\'User updated range\');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n<\/script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>'],sourceRoot:""}]);const i=o},5278:()=>{},6700:(t,e,a)=>{var n={"./af":2786,"./af.js":2786,"./ar":867,"./ar-dz":4130,"./ar-dz.js":4130,"./ar-kw":6135,"./ar-kw.js":6135,"./ar-ly":6440,"./ar-ly.js":6440,"./ar-ma":7702,"./ar-ma.js":7702,"./ar-sa":6040,"./ar-sa.js":6040,"./ar-tn":7100,"./ar-tn.js":7100,"./ar.js":867,"./az":1083,"./az.js":1083,"./be":9808,"./be.js":9808,"./bg":8338,"./bg.js":8338,"./bm":7438,"./bm.js":7438,"./bn":8905,"./bn-bd":6225,"./bn-bd.js":6225,"./bn.js":8905,"./bo":1560,"./bo.js":1560,"./br":1278,"./br.js":1278,"./bs":622,"./bs.js":622,"./ca":2468,"./ca.js":2468,"./cs":5822,"./cs.js":5822,"./cv":877,"./cv.js":877,"./cy":7373,"./cy.js":7373,"./da":4780,"./da.js":4780,"./de":9740,"./de-at":217,"./de-at.js":217,"./de-ch":894,"./de-ch.js":894,"./de.js":9740,"./dv":5300,"./dv.js":5300,"./el":837,"./el.js":837,"./en-au":8348,"./en-au.js":8348,"./en-ca":7925,"./en-ca.js":7925,"./en-gb":2243,"./en-gb.js":2243,"./en-ie":6436,"./en-ie.js":6436,"./en-il":7207,"./en-il.js":7207,"./en-in":4175,"./en-in.js":4175,"./en-nz":6319,"./en-nz.js":6319,"./en-sg":1662,"./en-sg.js":1662,"./eo":2915,"./eo.js":2915,"./es":5655,"./es-do":5251,"./es-do.js":5251,"./es-mx":6112,"./es-mx.js":6112,"./es-us":1146,"./es-us.js":1146,"./es.js":5655,"./et":5603,"./et.js":5603,"./eu":7763,"./eu.js":7763,"./fa":6959,"./fa.js":6959,"./fi":1897,"./fi.js":1897,"./fil":2549,"./fil.js":2549,"./fo":4694,"./fo.js":4694,"./fr":4470,"./fr-ca":3049,"./fr-ca.js":3049,"./fr-ch":2330,"./fr-ch.js":2330,"./fr.js":4470,"./fy":5044,"./fy.js":5044,"./ga":9295,"./ga.js":9295,"./gd":2101,"./gd.js":2101,"./gl":8794,"./gl.js":8794,"./gom-deva":7884,"./gom-deva.js":7884,"./gom-latn":3168,"./gom-latn.js":3168,"./gu":5349,"./gu.js":5349,"./he":4206,"./he.js":4206,"./hi":94,"./hi.js":94,"./hr":316,"./hr.js":316,"./hu":2138,"./hu.js":2138,"./hy-am":1423,"./hy-am.js":1423,"./id":9218,"./id.js":9218,"./is":135,"./is.js":135,"./it":626,"./it-ch":150,"./it-ch.js":150,"./it.js":626,"./ja":9183,"./ja.js":9183,"./jv":4286,"./jv.js":4286,"./ka":2105,"./ka.js":2105,"./kk":7772,"./kk.js":7772,"./km":8758,"./km.js":8758,"./kn":9282,"./kn.js":9282,"./ko":3730,"./ko.js":3730,"./ku":1408,"./ku.js":1408,"./ky":3291,"./ky.js":3291,"./lb":6841,"./lb.js":6841,"./lo":5466,"./lo.js":5466,"./lt":7010,"./lt.js":7010,"./lv":7595,"./lv.js":7595,"./me":9861,"./me.js":9861,"./mi":5493,"./mi.js":5493,"./mk":5966,"./mk.js":5966,"./ml":7341,"./ml.js":7341,"./mn":5115,"./mn.js":5115,"./mr":370,"./mr.js":370,"./ms":9847,"./ms-my":1237,"./ms-my.js":1237,"./ms.js":9847,"./mt":2126,"./mt.js":2126,"./my":6165,"./my.js":6165,"./nb":4924,"./nb.js":4924,"./ne":6744,"./ne.js":6744,"./nl":3901,"./nl-be":9814,"./nl-be.js":9814,"./nl.js":3901,"./nn":3877,"./nn.js":3877,"./oc-lnc":2135,"./oc-lnc.js":2135,"./pa-in":5858,"./pa-in.js":5858,"./pl":4495,"./pl.js":4495,"./pt":9520,"./pt-br":7971,"./pt-br.js":7971,"./pt.js":9520,"./ro":6459,"./ro.js":6459,"./ru":1793,"./ru.js":1793,"./sd":950,"./sd.js":950,"./se":490,"./se.js":490,"./si":124,"./si.js":124,"./sk":4249,"./sk.js":4249,"./sl":4985,"./sl.js":4985,"./sq":1104,"./sq.js":1104,"./sr":9131,"./sr-cyrl":9915,"./sr-cyrl.js":9915,"./sr.js":9131,"./ss":5893,"./ss.js":5893,"./sv":8760,"./sv.js":8760,"./sw":1172,"./sw.js":1172,"./ta":7333,"./ta.js":7333,"./te":3110,"./te.js":3110,"./tet":2095,"./tet.js":2095,"./tg":7321,"./tg.js":7321,"./th":9041,"./th.js":9041,"./tk":9005,"./tk.js":9005,"./tl-ph":5768,"./tl-ph.js":5768,"./tlh":9444,"./tlh.js":9444,"./tr":2397,"./tr.js":2397,"./tzl":8254,"./tzl.js":8254,"./tzm":1106,"./tzm-latn":699,"./tzm-latn.js":699,"./tzm.js":1106,"./ug-cn":9288,"./ug-cn.js":9288,"./uk":7691,"./uk.js":7691,"./ur":3795,"./ur.js":3795,"./uz":6791,"./uz-latn":588,"./uz-latn.js":588,"./uz.js":6791,"./vi":5666,"./vi.js":5666,"./x-pseudo":4378,"./x-pseudo.js":4378,"./yo":5805,"./yo.js":5805,"./zh-cn":3839,"./zh-cn.js":3839,"./zh-hk":5726,"./zh-hk.js":5726,"./zh-mo":9807,"./zh-mo.js":9807,"./zh-tw":4152,"./zh-tw.js":4152};function s(t){var e=r(t);return a(e)}function r(t){if(!a.o(n,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return n[t]}s.keys=function(){return Object.keys(n)},s.resolve=r,t.exports=s,s.id=6700},9879:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(629),s=a(7760),r=a.n(s),o=a(6782),i=a.n(o);function c(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function l(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?c(Object(a),!0).forEach((function(e){u(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):c(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function u(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var d=(0,n._p)("dashboard/index"),_=(d.mapState,d.mapGetters),p=(d.mapActions,d.mapMutations);r().component("date-picker",i());const g={name:"Calendar",created:function(){var t;this.ready=!0,this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US"},data:function(){return{locale:"en-US",ready:!1,range:{start:null,end:null},defaultRange:{start:null,end:null},periods:[]}},methods:l(l({},p(["setEnd","setStart"])),{},{resetDate:function(){this.range.start=this.defaultStart,this.range.end=this.defaultEnd,this.setStart(this.defaultStart),this.setEnd(this.defaultEnd)},customDate:function(t,e){var a=new Date(t),n=new Date(e);return this.setStart(a),this.setEnd(n),this.range.start=a,this.range.end=n,this.generatePeriods(),!1},generatePeriods:function(){var t,e;this.periods=[],t=new Date(this.range.start),a=new Date(t.getFullYear(),t.getMonth()-1,1),n=new Date(t.getFullYear(),t.getMonth(),0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),a=new Date(t.getFullYear(),t.getMonth(),1),n=new Date(t.getFullYear(),t.getMonth()+1,0),this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)});var a=new Date(t.getFullYear(),t.getMonth()+1,1),n=new Date(t.getFullYear(),t.getMonth()+2,0);this.periods.push({start:a.toDateString(),end:n.toDateString(),title:new Intl.DateTimeFormat(this.locale,{year:"numeric",month:"long"}).format(a)}),t=new Date,(e=new Date).setDate(e.getDate()-7),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_seven_days")}),e.setDate(e.getDate()-23),this.periods.push({start:e.toDateString(),end:t.toDateString(),title:this.$t("firefly.last_thirty_days")})}}),computed:l(l({},_(["viewRange","start","end","defaultStart","defaultEnd"])),{},{datesReady:function(){return null!==this.start&&null!==this.end&&this.ready}}),watch:{datesReady:function(t){!1!==t&&(this.range.start=new Date(this.start),this.range.end=new Date(this.end),this.generatePeriods())},range:function(t){this.setStart(t.start),this.setEnd(t.end)}}};a(8394);const h=(0,a(1900).Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("Start")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.start)))])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("End")]),t._v(" "),a("div",{staticClass:"col-8"},[t._v(t._s(new Intl.DateTimeFormat(t.locale,{year:"numeric",month:"long",day:"numeric"}).format(t.range.end)))])]),t._v(" "),a("date-picker",{attrs:{rows:2,"is-range":"",mode:"date"},scopedSlots:t._u([{key:"default",fn:function(e){var n=e.inputValue,s=e.inputEvents,r=e.isDragging,o=e.togglePopover;return[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"btn-group btn-group-sm d-flex"},[a("button",{staticClass:"btn btn-secondary btn-sm",attrs:{title:t.$t("firefly.custom_period")},on:{click:function(t){return o({placement:"auto-start",positionFixed:!0})}}},[a("i",{staticClass:"fas fa-calendar-alt"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary",attrs:{title:t.$t("firefly.reset_to_current")},on:{click:t.resetDate}},[a("i",{staticClass:"fas fa-history"})]),t._v(" "),a("button",{staticClass:"btn btn-secondary dropdown-toggle",attrs:{id:"dropdownMenuButton",title:t.$t("firefly.select_period"),"aria-expanded":"false","aria-haspopup":"true","data-toggle":"dropdown",type:"button"}},[a("i",{staticClass:"fas fa-list"})]),t._v(" "),a("div",{staticClass:"dropdown-menu",attrs:{"aria-labelledby":"dropdownMenuButton"}},t._l(t.periods,(function(e){return a("a",{staticClass:"dropdown-item",attrs:{href:"#"},on:{click:function(a){return t.customDate(e.start,e.end)}}},[t._v(t._s(e.title))])})),0)]),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.start}},s.start)),t._v(" "),a("input",t._g({class:r?"text-gray-600":"text-gray-900",attrs:{type:"hidden"},domProps:{value:n.end}},s.end))])])]}}]),model:{value:t.range,callback:function(e){t.range=e},expression:"range"}})],1)}),[],!1,null,"12891edc",null).exports},8394:(t,e,a)=>{var n=a(4547);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals),(0,a(5346).Z)("69ef6cc5",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";var e=e=>t(t.s=e);t.O(0,[879,228],(()=>(e(3015),e(5278)))),t.O()}]);
diff --git a/public/v2/js/dashboard.js.map b/public/v2/js/dashboard.js.map
index ff9f249782..dd6d83a645 100755
--- a/public/v2/js/dashboard.js.map
+++ b/public/v2/js/dashboard.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?94b6","webpack:///./src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?1d88","webpack:///./src/components/dashboard/TopBoxes.vue?42ef","webpack:///src/components/dashboard/TopBoxes.vue","webpack:///./src/components/dashboard/TopBoxes.vue?97f7","webpack:///./src/components/dashboard/TopBoxes.vue","webpack:///src/components/charts/DataConverter.vue","webpack:///./src/components/charts/DataConverter.vue?e094","webpack:///./src/components/charts/DataConverter.vue","webpack:///src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?1df9","webpack:///./src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?9d48","webpack:///src/components/dashboard/MainAccountChart.vue","webpack:///./src/components/dashboard/MainAccountChart.vue?119f","webpack:///./src/components/dashboard/MainAccountChart.vue","webpack:///src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?e0d5","webpack:///./src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?dbec","webpack:///src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?cba7","webpack:///./src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?0e55","webpack:///src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?52e4","webpack:///./src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?424c","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?796e","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?6b70","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1331","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?78de","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue?6522","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?000b","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?ac83","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?df81","webpack:///src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?0712","webpack:///./src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?6c4d","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?f4cd","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?c70a","webpack:///src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?cbf9","webpack:///./src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?8b99","webpack:///src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?4e79","webpack:///./src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?e222","webpack:///src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?8fc8","webpack:///./src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?6c5b","webpack:///src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?c965","webpack:///./src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?e6af","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?80ff","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?c0ac","webpack:///./src/pages/dashboard.js","webpack:///./src/components/dashboard/Calendar.vue?c12c","webpack:////sites/FF3/release/firefly-iii/frontend/node_modules/moment/locale|sync|/^\\.\\/.*$/","webpack:///./src/components/dashboard/Calendar.vue?d87e","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?93f8"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","_vm","this","_h","$createElement","_c","_self","_v","staticClass","props","summary","balances","billsPaid","billsUnpaid","leftToSpend","netWorth","loading","ready","computed","prefCurrencyBalances","filterOnCurrency","notPrefCurrencyBalances","filterOnNotCurrency","prefBillsUnpaid","notPrefBillsUnpaid","prefLeftToSpend","notPrefLeftToSpend","prefNetWorth","notPrefNetWorth","$store","watch","datesReady","prepareComponent","created","methods","array","hasOwnProperty","key","ret","startStr","endStr","buildComponent","getBalanceEntries","getBillsEntries","getLeftToSpend","getNetWorth","hasCurrency","getKeyedEntries","expected","substr","result","_m","_e","_s","$t","_l","balance","attrs","sub_title","value_parsed","left","nw","staticStyle","dataSet","newDataSet","local","convertChart","count","labels","datasets","getLabels","getDataSets","colorizeBarData","fillColors","colourSet","i","setKey","dataset","fill","backgroundColor","borderColor","colorizeLineData","convertLabelsToDate","labelKey","Intl","DateTimeFormat","format","unixTimeZero","firstSet","entries","entryLabel","oldSet","newSet","label","currency_symbol","yAxisID","formatLabel","sections","words","str","String","split","temp","forEach","item","concat","maxwidth","getDefaultOptions","self","legend","display","animation","duration","responsive","maintainAspectRatio","elements","line","cubicInterpolationMode","scales","xAxes","yAxes","ticks","callback","NumberFormat","beginAtZero","tooltips","mode","callbacks","tooltipItem","datasetIndex","nrString","extends","mixins","reactiveProp","mounted","renderChart","chartData","options","components","dataCollection","chartOptions","DefaultLineOptions","initialiseChart","url","initialiseList","loadAccounts","accountIds","test","loadSingleAccount","accountId","loadTransactions","account","class","title","parseFloat","current_balance","style","bills","initialiseBills","renderPaidDate","obj","transaction_group_id","loadBills","pay_dates","active","amount_min","amount_max","object_group_title","paidDate","domProps","payDate","paid_dates","budgetLimit","Object","default","budget_name","pctGreen","spent","total","pctOrange","pctRed","budgetLimits","Array","budgets","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","getBudgets","income","max","getIncome","parseIncome","mainKey","current","pct","difference_float","sort","entry","width","expenses","min","getExpenses","parseExpenses","piggy_banks","loadPiggyBanks","piggy","left_to_save","a","b","current_amount","target_amount","account_id","Number","transaction","group_title","tr","destination_id","destination_name","source_id","source_name","category_id","category_name","categories","sortedList","earned","getCategories","spentPct","earnedPct","TransactionListLarge","TransactionListMedium","TransactionListSmall","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainDebitList","MainCreditList","MainPiggyList","i18n","store","el","render","createElement","beforeCreate","Calendar","___CSS_LOADER_EXPORT___","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","keys","resolve","defaultRange","periods","resetDate","customDate","generatePeriods","today","firstDayOfMonth","lastDayOfMonth","scopedSlots","_u","fn","ref","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","period","_g","model","$$v","expression","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBAAkB,GAClBC,eAAgB,GAChBC,KAAM,GACNC,aAAc,GACdC,OAAQ,GACRC,SAAU,GACVC,KAAM,GACNC,KAAM,GACNC,WAAY,GACZC,mBAAoB,GACpBC,aAAc,GACdC,MAAO,GACPC,SAAU,IAIX,SAASC,IACZ,MAAO,CAEHlB,YAAa,GACbmB,uBAAwB,EAExBC,kBAAmB,KACnBC,oBAAqB,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A,EAAQ+e,SAAQxS,EAAOC,QAAUxM,EAAQ+e,SAG/BC,EADH,WACO,WAAYhf,GAAS,EAAM,K","file":"/public/js/dashboard.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - ExampleComponent.vue\n - Copyright (c) 2019 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <top-boxes/>\n <div class=\"row\">\n <div class=\"col\">\n <main-account/>\n </div>\n </div>\n <main-account-list/>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-budget-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-category-list/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-debit-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-credit-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-piggy-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-bills-list/>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Dashboard\",\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=9d50d3a2&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-boxes'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-account')],1)]),_vm._v(\" \"),_c('main-account-list'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-budget-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-category-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-debit-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-credit-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-piggy-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-bills-list')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t(\"firefly.balance\")))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefCurrencyBalances),function(balance){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":balance.sub_title}},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(1),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefCurrencyBalances),function(balance,index){return _c('span',{attrs:{\"title\":balance.sub_title}},[_vm._v(\"\\n \"+_vm._s(balance.value_parsed)),(index+1 !== _vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.bills_to_pay')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefBillsUnpaid),function(balance){return _c('span',{staticClass:\"info-box-number\"},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(3),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefBillsUnpaid),function(bill,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(bill.value_parsed)),(index+1 !== _vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(4),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.left_to_spend')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefLeftToSpend),function(left){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":left.sub_title}},[_vm._v(_vm._s(left.value_parsed))])}),_vm._v(\" \"),_vm._m(5),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefLeftToSpend),function(left,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(left.value_parsed)),(index+1 !== _vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(6),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.net_worth')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefNetWorth),function(nw){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":nw.sub_title}},[_vm._v(_vm._s(nw.value_parsed))])}),_vm._v(\" \"),_vm._m(7),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefNetWorth),function(nw,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(nw.value_parsed)),(index+1 !== _vm.notPrefNetWorth.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-bookmark text-info\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-info\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-calendar-alt text-teal\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-teal\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])}]\n\nexport { render, staticRenderFns }","<!--\n - TopBoxes.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"row\">\n <div class=\"col\"> <!-- col-md-3 col-sm-6 col-12 -->\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-bookmark text-info\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t(\"firefly.balance\") }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- balance in preferred currency -->\n <span v-for=\"balance in prefCurrencyBalances\" :title=\"balance.sub_title\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-info\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- balance in not preferred currency -->\n <span class=\"progress-description\">\n <span v-for=\"(balance, index) in notPrefCurrencyBalances\" :title=\"balance.sub_title\">\n {{ balance.value_parsed }}<span v-if=\"index+1 !== notPrefCurrencyBalances.length\">, </span>\n </span>\n <span v-if=\"0===notPrefCurrencyBalances.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-calendar-alt text-teal\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.bills_to_pay') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- bills unpaid, in preferred currency. -->\n <span v-for=\"balance in prefBillsUnpaid\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-teal\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- bills unpaid, in other currencies. -->\n <span class=\"progress-description\">\n <span v-for=\"(bill, index) in notPrefBillsUnpaid\">\n {{ bill.value_parsed }}<span v-if=\"index+1 !== notPrefBillsUnpaid.length\">, </span>\n </span>\n <span v-if=\"0===notPrefBillsUnpaid.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n <!-- left to spend -->\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.left_to_spend') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- left to spend in preferred currency -->\n <span v-for=\"left in prefLeftToSpend\" :title=\"left.sub_title\" class=\"info-box-number\">{{ left.value_parsed }}</span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- other currencies-->\n <span class=\"progress-description\">\n <span v-for=\"(left, index) in notPrefLeftToSpend\">\n {{ left.value_parsed }}<span v-if=\"index+1 !== notPrefLeftToSpend.length\">, </span>\n </span>\n <span v-if=\"0===notPrefLeftToSpend.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n <!-- net worth -->\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.net_worth') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <span v-for=\"nw in prefNetWorth\" :title=\"nw.sub_title\" class=\"info-box-number\">{{ nw.value_parsed }}</span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <span class=\"progress-description\">\n <span v-for=\"(nw, index) in notPrefNetWorth\">\n {{ nw.value_parsed }}<span v-if=\"index+1 !== notPrefNetWorth.length\">, </span>\n </span>\n <span v-if=\"0===notPrefNetWorth.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"TopBoxes\",\n props: {},\n data() {\n return {\n summary: [],\n balances: [],\n billsPaid: [],\n billsUnpaid: [],\n leftToSpend: [],\n netWorth: [],\n loading: true,\n error: false,\n ready: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n\n // contains only balances with preferred currency.\n prefCurrencyBalances: function () {\n return this.filterOnCurrency(this.balances);\n },\n notPrefCurrencyBalances: function () {\n return this.filterOnNotCurrency(this.balances);\n },\n\n // contains only bills unpaid in preferred currency or first one.\n prefBillsUnpaid: function () {\n return this.filterOnCurrency(this.billsUnpaid);\n },\n notPrefBillsUnpaid: function () {\n return this.filterOnNotCurrency(this.billsUnpaid);\n },\n\n // left to spend\n prefLeftToSpend: function () {\n return this.filterOnCurrency(this.leftToSpend);\n },\n notPrefLeftToSpend: function () {\n return this.filterOnNotCurrency(this.leftToSpend);\n },\n\n // net worth\n prefNetWorth: function () {\n return this.filterOnCurrency(this.netWorth);\n },\n notPrefNetWorth: function () {\n return this.filterOnNotCurrency(this.netWorth);\n },\n currencyCode() {\n return this.$store.getters.currencyCode;\n },\n currencyId() {\n return this.$store.getters.currencyId;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.prepareComponent();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n },\n created() {\n this.ready = true;\n },\n methods: {\n filterOnCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n // console.log('Currency ID seems to be ' + this.currencyId);\n if (array[key].currency_id === this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n // or just the first one:\n if (0 === ret.length && array.hasOwnProperty(0)) {\n ret.push(array[0]);\n }\n return ret;\n },\n filterOnNotCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id !== this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n return ret;\n },\n /**\n * Prepare the component.\n */\n prepareComponent() {\n this.error = false;\n this.loading = true;\n this.summary = [];\n this.balances = [];\n this.billsPaid = [];\n this.billsUnpaid = [];\n this.leftToSpend = [];\n this.netWorth = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/summary/basic?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.summary = response.data;\n this.buildComponent();\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n buildComponent() {\n this.getBalanceEntries();\n this.getBillsEntries();\n this.getLeftToSpend();\n this.getNetWorth();\n },\n\n hasCurrency: function (array) {\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id === this.currencyId) {\n return true;\n }\n }\n }\n return false;\n },\n\n getBalanceEntries() {\n this.balances = this.getKeyedEntries('balance-in-');\n },\n getNetWorth() {\n this.netWorth = this.getKeyedEntries('net-worth-in-');\n },\n getLeftToSpend() {\n this.leftToSpend = this.getKeyedEntries('left-to-spend-in-');\n },\n getBillsEntries() {\n this.billsPaid = this.getKeyedEntries('bills-paid-in-');\n this.billsUnpaid = this.getKeyedEntries('bills-unpaid-in-');\n },\n getKeyedEntries(expected) {\n let result = [];\n for (const key in this.summary) {\n if (this.summary.hasOwnProperty(key)) {\n if (expected === key.substr(0, expected.length)) {\n result.push(this.summary[key]);\n }\n }\n }\n return result;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBoxes.vue?vue&type=template&id=5c6cdcc5&\"\nimport script from \"./TopBoxes.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBoxes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - DataConverter.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\nexport default {\n name: \"DataConverter\",\n data() {\n return {\n dataSet: null,\n newDataSet: null,\n locale: localStorage.local,\n }\n },\n methods: {\n convertChart(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n }\n this.getLabels();\n this.getDataSets();\n this.newDataSet.count = this.newDataSet.datasets.length;\n return this.newDataSet;\n },\n\n colorizeBarData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n\n colorizeLineData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n convertLabelsToDate(dataSet) {\n for (let labelKey in dataSet.labels) {\n if (dataSet.labels.hasOwnProperty(labelKey)) {\n const unixTimeZero = Date.parse(dataSet.labels[labelKey]);\n dataSet.labels[labelKey] = new Intl.DateTimeFormat(this.locale).format(unixTimeZero);\n }\n }\n return dataSet;\n },\n getLabels() {\n let firstSet = this.dataSet[0];\n if (typeof firstSet !== 'undefined') {\n for (const entryLabel in firstSet.entries) {\n if (firstSet.entries.hasOwnProperty(entryLabel)) {\n this.newDataSet.labels.push(entryLabel);\n }\n }\n }\n },\n getDataSets() {\n for (const setKey in this.dataSet) {\n if (this.dataSet.hasOwnProperty(setKey)) {\n let newSet = {};\n let oldSet = this.dataSet[setKey];\n if (typeof oldSet !== 'undefined') {\n newSet.label = oldSet.label;\n newSet.type = oldSet.type;\n newSet.currency_symbol = oldSet.currency_symbol;\n newSet.currency_code = oldSet.currency_code;\n newSet.yAxisID = oldSet.yAxisID;\n newSet.data = [];\n for (const entryLabel in oldSet.entries) {\n if (oldSet.entries.hasOwnProperty(entryLabel)) {\n newSet.data.push(oldSet.entries[entryLabel]);\n }\n }\n this.newDataSet.datasets.push(newSet);\n }\n }\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./DataConverter.vue?vue&type=script&lang=js&\"\nexport * from \"./DataConverter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - DefaultLineOptions.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n</template>\n\n\n<script>\n\nexport default {\n name: \"DefaultLineOptions\",\n data() {\n return {}\n },\n methods: {\n /**\n * Takes a string phrase and breaks it into separate phrases no bigger than 'maxwidth', breaks are made at complete words.\n * https://stackoverflow.com/questions/21409717/chart-js-and-long-labels\n *\n * @param str\n * @param maxwidth\n * @returns {Array}\n */\n formatLabel(str, maxwidth) {\n var sections = [];\n str = String(str);\n var words = str.split(\" \");\n var temp = \"\";\n\n words.forEach(function (item, index) {\n if (temp.length > 0) {\n var concat = temp + ' ' + item;\n\n if (concat.length > maxwidth) {\n sections.push(temp);\n temp = \"\";\n } else {\n if (index === (words.length - 1)) {\n sections.push(concat);\n return;\n } else {\n temp = concat;\n return;\n }\n }\n }\n\n if (index === (words.length - 1)) {\n sections.push(item);\n return;\n }\n\n if (item.length < maxwidth) {\n temp = item;\n } else {\n sections.push(item);\n }\n\n });\n\n return sections;\n },\n getDefaultOptions() {\n var self = this;\n return {\n legend: {\n display: false,\n },\n animation: {\n duration: 0,\n },\n responsive: true,\n maintainAspectRatio: false,\n elements: {\n line: {\n cubicInterpolationMode: 'monotone'\n }\n },\n scales: {\n xAxes: [\n {\n gridLines: {\n display: false\n },\n ticks: {\n // break ticks when too long\n callback: function (value, index, values) {\n // date format\n let dateObj = new Date(value);\n let options = {year: 'numeric', month: 'long', day: 'numeric'};\n let str = new Intl.DateTimeFormat(localStorage.locale, options).format(dateObj);\n //console.log();\n //return self.formatLabel(value, 20);\n return self.formatLabel(str, 20);\n }\n }\n }\n ],\n yAxes: [{\n display: true,\n ticks: {\n callback: function (tickValue) {\n \"use strict\";\n let currencyCode = this.chart.data.datasets[0].currency_code ? this.chart.data.datasets[0].currency_code : 'EUR';\n return new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tickValue);\n },\n beginAtZero: true\n }\n\n }]\n },\n tooltips: {\n mode: 'index',\n callbacks: {\n label: function (tooltipItem, data) {\n \"use strict\";\n let currencyCode = data.datasets[tooltipItem.datasetIndex].currency_code ? data.datasets[tooltipItem.datasetIndex].currency_code : 'EUR';\n let nrString =\n new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tooltipItem.yLabel)\n\n return data.datasets[tooltipItem.datasetIndex].label + ': ' + nrString;\n }\n }\n }\n };\n }\n\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DefaultLineOptions.vue?vue&type=template&id=5f7e90aa&scoped=true&\"\nimport script from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\nexport * from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5f7e90aa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountChart.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\n\nimport {Line, mixins} from 'vue-chartjs'\n\nconst {reactiveProp} = mixins\n\nexport default {\n extends: Line,\n mixins: [reactiveProp],\n props: ['options'],\n mounted() {\n this.renderChart(this.chartData, this.options)\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!./MainAccountChart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountChart.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./MainAccountChart.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountChart.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport 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 - MainAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.yourAccounts') }}</h3>\n </div>\n <div class=\"card-body\">\n <div v-if=\"!loading\">\n <MainAccountChart v-if=\"!loading && !error\" :chart-data=\"dataCollection\" :options=\"chartOptions\"/>\n </div>\n <div v-if=\"loading && !error\" class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n <div v-if=\"error\" class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./accounts/asset\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_asset_accounts') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport DataConverter from \"../charts/DataConverter\";\nimport DefaultLineOptions from \"../charts/DefaultLineOptions\";\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport MainAccountChart from \"./MainAccountChart\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccount\",\n components: {MainAccountChart},\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n dataCollection: {},\n chartOptions: {}\n }\n },\n created() {\n this.ready = true;\n this.chartOptions = DefaultLineOptions.methods.getDefaultOptions();\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseChart();\n }\n },\n start: function () {\n this.initialiseChart();\n },\n end: function () {\n this.initialiseChart();\n },\n },\n methods: {\n initialiseChart: function () {\n this.loading = true;\n this.error = false;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n let url = './api/v1/chart/account/overview?start=' + startStr + '&end=' + endStr;\n // console.log('URL is ' + url);\n axios.get(url)\n .then(response => {\n let chartData = DataConverter.methods.convertChart(response.data);\n chartData = DataConverter.methods.colorizeLineData(chartData);\n this.dataCollection = chartData;\n this.loading = false;\n })\n .catch(error => {\n // console.log('Has error!');\n // console.log(error);\n this.error = true;\n // console.error(error);\n });\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccount.vue?vue&type=template&id=53c6b338&\"\nimport script from \"./MainAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.yourAccounts')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[(!_vm.loading)?_c('div',[(!_vm.loading && !_vm.error)?_c('MainAccountChart',{attrs:{\"chart-data\":_vm.dataCollection,\"options\":_vm.chartOptions}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./accounts/asset\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_asset_accounts')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- row if loading -->\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if error -->\n <div v-if=\"error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if normal -->\n <div v-if=\"!loading && !error\" class=\"row\">\n <div\n v-for=\"account in accounts\"\n v-bind:class=\"{ 'col-lg-12': 1 === accounts.length, 'col-lg-6': 2 === accounts.length, 'col-lg-4': accounts.length > 2 }\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\"><a :href=\"account.url\">{{ account.title }}</a></h3>\n <div class=\"card-tools\">\n <span :class=\"parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)) }}\n </span>\n </div>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <div>\n <transaction-list-large v-if=\"1===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-medium v-if=\"2===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-small v-if=\"accounts.length > 2\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccountList\",\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n accounts: [],\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseList();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n },\n methods: {\n initialiseList: function () {\n this.loading = true;\n this.accounts = [];\n axios.get('./api/v1/preferences/frontpageAccounts')\n .then(response => {\n this.loadAccounts(response);\n }\n );\n },\n loadAccounts(response) {\n let accountIds = response.data.data.attributes.data;\n for (let key in accountIds) {\n if (accountIds.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.accounts.push({\n id: accountIds[key],\n title: '',\n url: '',\n current_balance: '',\n currency_code: 'EUR',\n transactions: []\n });\n this.loadSingleAccount(key, accountIds[key]);\n }\n }\n },\n loadSingleAccount(key, accountId) {\n axios.get('./api/v1/accounts/' + accountId)\n .then(response => {\n this.accounts[key].title = response.data.data.attributes.name;\n this.accounts[key].url = './accounts/show/' + response.data.data.id;\n this.accounts[key].current_balance = response.data.data.attributes.current_balance;\n this.accounts[key].currency_code = response.data.data.attributes.currency_code;\n\n this.loadTransactions(key, accountId);\n }\n );\n },\n loadTransactions(key, accountId) {\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/accounts/' + accountId + '/transactions?page=1&limit=10&start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.accounts[key].transactions = response.data.data;\n this.loading = false;\n this.error = false;\n }\n );\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccountList.vue?vue&type=template&id=5d6bb842&scoped=true&\"\nimport script from \"./MainAccountList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5d6bb842\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},_vm._l((_vm.accounts),function(account){return _c('div',{class:{ 'col-lg-12': 1 === _vm.accounts.length, 'col-lg-6': 2 === _vm.accounts.length, 'col-lg-4': _vm.accounts.length > 2 }},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_c('a',{attrs:{\"href\":account.url}},[_vm._v(_vm._s(account.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-tools\"},[_c('span',{class:parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)))+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('div',[(1===_vm.accounts.length)?_c('transaction-list-large',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(2===_vm.accounts.length)?_c('transaction-list-medium',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(_vm.accounts.length > 2)?_c('transaction-list-small',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e()],1)])])])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainBills.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.bills') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.bills') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.name') }}</th>\n <th scope=\"col\" style=\"width:25%;\">{{ $t('list.next_expected_match') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"bill in this.bills\">\n <td><a :href=\"'./bills/show/' + bill.id\" :title=\"bill.attributes.name\">{{ bill.attributes.name }}</a>\n (~ <span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)\n }}</span>)\n <small v-if=\"bill.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ bill.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <span v-for=\"paidDate in bill.attributes.paid_dates\">\n <span v-html=\"renderPaidDate(paidDate)\"/><br/>\n </span>\n <span v-for=\"payDate in bill.attributes.pay_dates\" v-if=\"0===bill.attributes.paid_dates.length\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)) }}\n <br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./bills\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_bills') }}</a>\n </div>\n </div>\n</template>\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"MainBillsList\",\n data() {\n return {\n bills: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseBills();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n components: {},\n methods: {\n initialiseBills: function () {\n this.loading = true;\n this.bills = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n\n axios.get('./api/v1/bills?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.loadBills(response.data.data);\n }\n ).catch(error => {\n this.error = true;\n this.loading = false;\n });\n },\n renderPaidDate: function (obj) {\n let dateStr = new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(obj.date));\n let str = this.$t('firefly.bill_paid_on', {date: dateStr});\n return '<a href=\"./transactions/show/' + obj.transaction_group_id + '\" title=\"' + str + '\">' + str + '</a>';\n },\n loadBills: function (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n\n let bill = data[key];\n let active = bill.attributes.active;\n if (bill.attributes.pay_dates.length > 0 && active) {\n this.bills.push(bill);\n }\n }\n }\n this.error = false;\n this.loading = false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBillsList.vue?vue&type=template&id=547b1023&\"\nimport script from \"./MainBillsList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBillsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.bills')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.bills')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.name')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"25%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.next_expected_match')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.bills),function(bill){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./bills/show/' + bill.id,\"title\":bill.attributes.name}},[_vm._v(_vm._s(bill.attributes.name))]),_vm._v(\"\\n (~ \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)))]),_vm._v(\")\\n \"),(bill.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(bill.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_vm._l((bill.attributes.paid_dates),function(paidDate){return _c('span',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.renderPaidDate(paidDate))}}),_c('br')])}),_vm._v(\" \"),_vm._l((bill.attributes.pay_dates),function(payDate){return (0===bill.attributes.paid_dates.length)?_c('span',[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)))+\"\\n \"),_c('br')]):_vm._e()})],2)])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./bills\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_bills')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div :aria-valuenow=\"budgetLimit.pctGreen\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n <!-- -->\n </span>\n\n\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctOrange\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctRed\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\" class=\"text-muted\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <!-- amount if bar is very small -->\n <span v-if=\"budgetLimit.pctGreen <= 35 && 0 === budgetLimit.pctOrange && 0 === budgetLimit.pctRed && 0 !== budgetLimit.pctGreen\" style=\"line-height: 16px;\">\n &nbsp; {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n &rarr;\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td class=\"align-middle d-none d-lg-table-cell\" style=\"width:10%;\">\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\" class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\" class=\"text-muted\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\" class=\"text-danger\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: function () {\n return {};\n }\n },\n budget: {\n type: Object,\n default: function () {\n return {};\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=7988ecb6&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7988ecb6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.budgetLimit.pctGreen <= 35 && 0 === _vm.budgetLimit.pctOrange && 0 === _vm.budgetLimit.pctRed && 0 !== _vm.budgetLimit.pctGreen)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n   \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=2fc8f640&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2fc8f640\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ title }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n <th scope=\"col\">{{ $t('firefly.left') }}</th>\n </tr>\n </thead>\n <tbody>\n <BudgetLimitRow v-for=\"(budgetLimit, key) in budgetLimits\" v-bind:key=\"key\" :budgetLimit=\"budgetLimit\"/>\n <BudgetRow v-for=\"(budget, key) in budgets\" v-bind:key=\"key\" :budget=\"budget\"/>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./budgets\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\n\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=2b21deef&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b21deef\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.left')))])])]),_vm._v(\" \"),_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div v-if=\"!loading\" class=\"row\">\n <div v-if=\"budgetLimits.daily.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.daily :title=\"$t('firefly.daily_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.weekly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.weekly :title=\"$t('firefly.weekly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.monthly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.monthly :title=\"$t('firefly.monthly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.quarterly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.quarterly :title=\"$t('firefly.quarterly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.half_year.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.half_year :title=\"$t('firefly.half_year_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.yearly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.yearly :title=\"$t('firefly.yearly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\" :title=\"$t('firefly.other_budgets')\"\n />\n </div>\n </div>\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {}, // used to collect some meta data.\n rawBudgets: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getBudgets();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n methods:\n {\n getBudgets: function () {\n this.budgets = {};\n this.rawBudgets = [];\n this.budgetLimits = {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n };\n this.loading = true;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/budgets?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n if (false === current.attributes.active) {\n // skip inactive budgets\n continue;\n }\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n console.log('Added budget ' + current.attributes.name + ' (' + spentData.currency_code + ')');\n }\n }\n }\n }\n this.getBudgetLimits();\n },\n getBudgetLimits() {\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/budget-limits?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgetLimits(response.data);\n this.loading = false;\n }\n );\n },\n parseBudgetLimits(data) {\n // collect budget meta data.\n for (let i in data.included) {\n if (data.included.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.included[i];\n let currentId = parseInt(current.id);\n this.budgets[currentId] =\n {\n id: currentId,\n name: current.attributes.name,\n };\n console.log('Collected meta data: budget #' + currentId + ' is named ' + current.attributes.name);\n }\n }\n\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let currentId = parseInt(current.id);\n let budgetId = parseInt(current.attributes.budget_id);\n let currencyId = parseInt(current.attributes.currency_id);\n let spentFloat = parseFloat(current.attributes.spent);\n let spentFloatPos = parseFloat(current.attributes.spent) * -1;\n let amount = parseFloat(current.attributes.amount);\n let period = current.attributes.period ?? 'other';\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n //console.log('Collected \"' + period + '\" budget limit #' + currentId + ' (part of budget #' + budgetId + ')');\n //console.log('Spent ' + spentFloat + ' of ' + amount);\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(budgetId, currencyId);\n\n // spent within budget:\n if (0.0 !== spentFloat && spentFloatPos < amount) {\n pctGreen = (spentFloatPos / amount) * 100;\n }\n\n // spent over budget\n if (0.0 !== spentFloatPos && spentFloatPos > amount) {\n pctOrange = (spentFloatPos / amount) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: currentId,\n amount: current.attributes.amount,\n budget_id: budgetId,\n budget_name: this.budgets[current.attributes.budget_id].name,\n currency_id: currencyId,\n currency_code: current.attributes.currency_code,\n period: current.attributes.period,\n start: new Date(current.attributes.start),\n end: new Date(current.attributes.end),\n spent: current.attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n this.budgetLimits[period].push(obj);\n }\n }\n },\n\n filterBudgets(budgetId, currencyId) {\n for (let i in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.rawBudgets[i].currency_id === currencyId && this.rawBudgets[i].id === budgetId) {\n console.log('Budget ' + this.rawBudgets[i].name + ' with currency ' + this.rawBudgets[i].currency_code + ' will be removed in favor of a budget limit.');\n this.rawBudgets.splice(parseInt(i), 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=66a7692f&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a7692f\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.loading)?_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.daily,\"title\":_vm.$t('firefly.daily_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.weekly,\"title\":_vm.$t('firefly.weekly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.monthly,\"title\":_vm.$t('firefly.monthly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.quarterly,\"title\":_vm.$t('firefly.quarterly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.half_year,\"title\":_vm.$t('firefly.half_year_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.yearly,\"title\":_vm.$t('firefly.yearly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets,\"title\":_vm.$t('firefly.other_budgets')}})],1):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainCreditList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.revenue_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.revenue_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in income\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/deposit\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_deposits') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n// TODO same as credit list but reversed\n\nexport default {\n name: \"MainCreditList\",\n data() {\n return {\n locale: 'en-US',\n income: [],\n max: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getIncome();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n },\n methods: {\n getIncome() {\n this.loading = true;\n this.income = [];\n this.error = false;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/insight/income/revenue?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseIncome(response.data);\n this.loading = false;\n }).catch(error => {\n this.error = true\n });\n },\n parseIncome(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey)) {\n mainKey = parseInt(mainKey);\n // contains currency info and entries.\n let current = data[mainKey];\n current.pct = 0;\n this.max = current.difference_float > this.max ? current.difference_float : this.max;\n this.income.push(current);\n }\n }\n if (0 === this.max) {\n this.max = 1;\n }\n // now sort + pct:\n for (let i in this.income) {\n if (this.income.hasOwnProperty(i)) {\n let current = this.income[i];\n current.pct = (current.difference_float / this.max) * 100;\n this.income[i] = current;\n }\n }\n this.income.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCreditList.vue?vue&type=template&id=3e98985a&\"\nimport script from \"./MainCreditList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCreditList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.income),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/deposit\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_deposits')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.expense_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in expenses\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/withdrawal\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_withdrawals') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nexport default {\n name: \"MainDebitList\",\n data() {\n return {\n locale: 'en-US',\n expenses: [],\n min: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getExpenses();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n },\n methods: {\n getExpenses() {\n this.loading = true;\n this.error = false;\n this.expenses = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/insight/expense/expense?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseExpenses(response.data);\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n parseExpenses(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey) && /^0$|^[1-9]\\d*$/.test(mainKey) && mainKey <= 4294967294) {\n let current = data[mainKey];\n current.pct = 0;\n\n this.min = current.difference_float < this.min ? current.difference_float : this.min;\n this.expenses.push(current);\n }\n }\n\n if (0 === this.min) {\n this.min = -1;\n }\n // now sort + pct:\n for (let i in this.expenses) {\n if (this.expenses.hasOwnProperty(i)) {\n let current = this.expenses[i];\n current.pct = (current.difference_float*-1 / this.min*-1) * 100;\n this.expenses[i] = current;\n }\n }\n this.expenses.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=9816a3c2&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.expenses),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawal\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_withdrawals')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainPiggyList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.piggy_banks') }}</h3>\n </div>\n\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.piggy_banks') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.piggy_bank') }}</th>\n <th scope=\"col\" style=\"width:40%;\">{{ $t('list.percentage') }} <small>/ {{ $t('list.amount') }}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"piggy in this.piggy_banks\">\n <td>\n <a :href=\"'./piggy-banks/show/' + piggy.id\" :title=\"piggy.attributes.name\">{{ piggy.attributes.name }}</a>\n <small v-if=\"piggy.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ piggy.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <div class=\"progress-group\">\n <div class=\"progress progress-sm\">\n <div v-if=\"piggy.attributes.pct < 100\" :style=\"{'width': piggy.attributes.pct + '%'}\" class=\"progress-bar progress-bar-striped primary\"></div>\n <div v-if=\"100 === piggy.attributes.pct\" :style=\"{'width': piggy.attributes.pct + '%'}\"\n class=\"progress-bar progress-bar-striped bg-success\"></div>\n </div>\n </div>\n <span class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount)\n }}\n </span>\n of\n <span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)\n }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./piggy-banks\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_piggies') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainPiggyList\",\n data() {\n return {\n piggy_banks: [],\n loading: true,\n error: false,\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n axios.get('./api/v1/piggy_banks')\n .then(response => {\n this.loadPiggyBanks(response.data.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true\n });\n },\n methods: {\n loadPiggyBanks(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let piggy = data[key];\n if (0.0 !== parseFloat(piggy.attributes.left_to_save)) {\n piggy.attributes.pct = (parseFloat(piggy.attributes.current_amount) / parseFloat(piggy.attributes.target_amount)) * 100;\n this.piggy_banks.push(piggy);\n }\n }\n }\n this.piggy_banks.sort(function (a, b) {\n return b.attributes.pct - a.attributes.pct;\n });\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainPiggyList.vue?vue&type=template&id=c17c9a5a&scoped=true&\"\nimport script from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c17c9a5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.piggy_bank')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"40%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.percentage'))+\" \"),_c('small',[_vm._v(\"/ \"+_vm._s(_vm.$t('list.amount')))])])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.piggy_banks),function(piggy){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./piggy-banks/show/' + piggy.id,\"title\":piggy.attributes.name}},[_vm._v(_vm._s(piggy.attributes.name))]),_vm._v(\" \"),(piggy.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(piggy.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_c('div',{staticClass:\"progress-group\"},[_c('div',{staticClass:\"progress progress-sm\"},[(piggy.attributes.pct < 100)?_c('div',{staticClass:\"progress-bar progress-bar-striped primary\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e(),_vm._v(\" \"),(100 === piggy.attributes.pct)?_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e()])]),_vm._v(\" \"),_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount))+\"\\n \")]),_vm._v(\"\\n of\\n \"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)))])])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./piggy-banks\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_piggies')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionListLarge.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.category_id\" :href=\"'categories/show/' + tr.category_id\">{{ tr.category_name }}</a><br/>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.budget_id\" :href=\"'budgets/show/' + tr.budget_id\">{{ tr.budget_name }}</a><br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListLarge\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListLarge.vue?vue&type=template&id=6e420753&scoped=true&\"\nimport script from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e420753\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.category_id)?_c('a',{attrs:{\"href\":'categories/show/' + tr.category_id}},[_vm._v(_vm._s(tr.category_name))]):_vm._e(),_c('br')])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.budget_id)?_c('a',{attrs:{\"href\":'budgets/show/' + tr.budget_id}},[_vm._v(_vm._s(tr.budget_name))]):_vm._e(),_c('br')])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListMedium.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListMedium\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListMedium.vue?vue&type=template&id=0d4f7042&scoped=true&\"\nimport script from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d4f7042\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListSmall.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \"\n :title=\"new Intl.DateTimeFormat(locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListSmall\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n methods: {},\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListSmall.vue?vue&type=template&id=4cd7a656&scoped=true&\"\nimport script from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4cd7a656\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":new Intl.DateTimeFormat(_vm.locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.categories') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div v-if=\"category.spentPct > 0\" class=\"progress\">\n <div :aria-valuenow=\"category.spentPct\" :style=\"{ width: category.spentPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\" class=\"progress-label\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n\n </div>\n\n <!-- EARNED -->\n <div v-if=\"category.earnedPct > 0\" class=\"progress justify-content-end\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\" style=\"line-height: 16px;\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n &nbsp;</span>\n <div :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainCategoryList\",\n\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getCategories();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n },\n methods:\n {\n getCategories() {\n this.categories = [];\n this.sortedList = [];\n this.spent = 0;\n this.earned = 0;\n this.loading = true;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/categories?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseCategories(response.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true;\n });\n },\n parseCategories(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 entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n entryKey = spentData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let ii in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let earnedData = current.attributes.earned[ii];\n entryKey = earnedData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n this.sortCategories();\n },\n sortCategories() {\n // no longer care about keys:\n let array = [];\n for (let i in this.categories) {\n if (this.categories.hasOwnProperty(i)) {\n array.push(this.categories[i]);\n }\n }\n array.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let i in array) {\n if (array.hasOwnProperty(i)) {\n let current = array[i];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=7ea958c9&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea958c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.categories')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"aria-valuenow\":category.spentPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',{staticClass:\"progress-label\",staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n  \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"aria-valuenow\":category.earnedPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n\nimport Dashboard from '../components/dashboard/Dashboard';\nimport TopBoxes from '../components/dashboard/TopBoxes';\nimport MainAccount from '../components/dashboard/MainAccount';\nimport MainAccountList from '../components/dashboard/MainAccountList';\nimport MainBillsList from '../components/dashboard/MainBillsList';\nimport MainBudgetList from '../components/dashboard/MainBudgetList';\nimport MainCreditList from '../components/dashboard/MainCreditList';\nimport MainDebitList from '../components/dashboard/MainDebitList';\nimport MainPiggyList from '../components/dashboard/MainPiggyList';\nimport TransactionListLarge from '../components/transactions/TransactionListLarge';\nimport TransactionListMedium from '../components/transactions/TransactionListMedium';\nimport TransactionListSmall from '../components/transactions/TransactionListSmall';\nimport Calendar from '../components/dashboard/Calendar';\nimport MainCategoryList from '../components/dashboard/MainCategoryList';\nimport Vue from 'vue';\nimport Vuex from 'vuex'\nimport store from '../components/store';\n\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\nrequire('../bootstrap');\nrequire('chart.js');\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\n\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-credit-list', MainCreditList);\nVue.component('main-piggy-list', MainPiggyList);\n\nVue.use(Vuex);\n\nlet i18n = require('../i18n');\nlet props = {};\n\nnew Vue({\n i18n,\n store,\n el: '#dashboard',\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n beforeCreate() {\n // TODO migrate to \"root\" store.\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n this.$store.dispatch('root/initialiseStore');\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n });\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n // TODO init store as well?\n });","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AA0OA,sEACA,aACA\",\"sourcesContent\":[\"<!--\\n - Calendar.vue\\n - Copyright (c) 2020 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">Start</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">End</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\\n </div>\\n <date-picker\\n v-model=\\\"range\\\"\\n :rows=\\\"2\\\"\\n is-range\\n mode=\\\"date\\\"\\n >\\n <template v-slot=\\\"{ inputValue, inputEvents, isDragging, togglePopover }\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">\\n <div class=\\\"btn-group btn-group-sm d-flex\\\">\\n <button\\n :title=\\\"$t('firefly.custom_period')\\\" class=\\\"btn btn-secondary btn-sm\\\"\\n @click=\\\"togglePopover({ placement: 'auto-start', positionFixed: true })\\\"\\n ><i class=\\\"fas fa-calendar-alt\\\"></i></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><i class=\\\"fas fa-history\\\"></i></button>\\n <button id=\\\"dropdownMenuButton\\\" :title=\\\"$t('firefly.select_period')\\\" aria-expanded=\\\"false\\\" aria-haspopup=\\\"true\\\" class=\\\"btn btn-secondary dropdown-toggle\\\"\\n data-toggle=\\\"dropdown\\\"\\n type=\\\"button\\\">\\n <i class=\\\"fas fa-list\\\"></i>\\n </button>\\n <div aria-labelledby=\\\"dropdownMenuButton\\\" class=\\\"dropdown-menu\\\">\\n <a v-for=\\\"period in periods\\\" class=\\\"dropdown-item\\\" href=\\\"#\\\" @click=\\\"customDate(period.start, period.end)\\\">{{ period.title }}</a>\\n </div>\\n\\n </div>\\n <input v-on=\\\"inputEvents.start\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.start\\\"\\n type=\\\"hidden\\\"\\n />\\n <input v-on=\\\"inputEvents.end\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.end\\\"\\n type=\\\"hidden\\\"\\n />\\n </div>\\n </div>\\n </template>\\n </date-picker>\\n </div>\\n</template>\\n\\n<script>\\n\\nimport {createNamespacedHelpers} from \\\"vuex\\\";\\nimport Vue from \\\"vue\\\";\\nimport DatePicker from \\\"v-calendar/lib/components/date-picker.umd\\\";\\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\\n\\n\\nVue.component('date-picker', DatePicker)\\n\\nexport default {\\n name: \\\"Calendar\\\",\\n created() {\\n this.ready = true;\\n this.locale = localStorage.locale ?? 'en-US';\\n },\\n data() {\\n return {\\n locale: 'en-US',\\n ready: false,\\n range: {\\n start: null,\\n end: null,\\n },\\n defaultRange: {\\n start: null,\\n end: null,\\n },\\n periods: []\\n };\\n },\\n methods: {\\n ...mapMutations(\\n [\\n 'setEnd',\\n 'setStart',\\n ],\\n ),\\n resetDate: function () {\\n //console.log('Reset date to');\\n //console.log(this.defaultStart);\\n //console.log(this.defaultEnd);\\n this.range.start = this.defaultStart;\\n this.range.end = this.defaultEnd;\\n this.setStart(this.defaultStart);\\n this.setEnd(this.defaultEnd);\\n },\\n customDate: function (startStr, endStr) {\\n let start = new Date(startStr);\\n let end = new Date(endStr);\\n this.setStart(start);\\n this.setEnd(end);\\n this.range.start = start;\\n this.range.end = end;\\n this.generatePeriods()\\n return false;\\n },\\n generatePeriods: function () {\\n this.periods = [];\\n // create periods.\\n let today;\\n let end;\\n\\n today = new Date(this.range.start);\\n\\n // previous month\\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // this month\\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // next month\\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // last 7 days\\n today = new Date;\\n end = new Date;\\n end.setDate(end.getDate() - 7);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_seven_days')\\n }\\n );\\n\\n // last 30 days:\\n end.setDate(end.getDate() - 23);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_thirty_days')\\n }\\n );\\n // last 30 days\\n // everything\\n }\\n },\\n computed: {\\n ...mapGetters([\\n 'viewRange',\\n 'start',\\n 'end',\\n 'defaultStart',\\n 'defaultEnd'\\n ]),\\n 'datesReady': function () {\\n return null !== this.start && null !== this.end && this.ready;\\n },\\n },\\n watch: {\\n datesReady: function (value) {\\n if (false === value) {\\n return;\\n }\\n this.range.start = new Date(this.start);\\n this.range.end = new Date(this.end);\\n this.generatePeriods();\\n\\n },\\n range: function (value) {\\n //console.log('User updated range');\\n this.setStart(value.start);\\n this.setEnd(value.end);\\n }\\n }\\n}\\n</script>\\n\\n<style scoped>\\n.dropdown-item {\\n color: #212529;\\n}\\n\\n.dropdown-item:hover {\\n color: #212529;\\n}\\n</style>\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var map = {\n\t\"./af\": 2786,\n\t\"./af.js\": 2786,\n\t\"./ar\": 867,\n\t\"./ar-dz\": 4130,\n\t\"./ar-dz.js\": 4130,\n\t\"./ar-kw\": 6135,\n\t\"./ar-kw.js\": 6135,\n\t\"./ar-ly\": 6440,\n\t\"./ar-ly.js\": 6440,\n\t\"./ar-ma\": 7702,\n\t\"./ar-ma.js\": 7702,\n\t\"./ar-sa\": 6040,\n\t\"./ar-sa.js\": 6040,\n\t\"./ar-tn\": 7100,\n\t\"./ar-tn.js\": 7100,\n\t\"./ar.js\": 867,\n\t\"./az\": 1083,\n\t\"./az.js\": 1083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 8338,\n\t\"./bg.js\": 8338,\n\t\"./bm\": 7438,\n\t\"./bm.js\": 7438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 6225,\n\t\"./bn-bd.js\": 6225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 1560,\n\t\"./bo.js\": 1560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 622,\n\t\"./bs.js\": 622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 877,\n\t\"./cv.js\": 877,\n\t\"./cy\": 7373,\n\t\"./cy.js\": 7373,\n\t\"./da\": 4780,\n\t\"./da.js\": 4780,\n\t\"./de\": 9740,\n\t\"./de-at\": 217,\n\t\"./de-at.js\": 217,\n\t\"./de-ch\": 894,\n\t\"./de-ch.js\": 894,\n\t\"./de.js\": 9740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 837,\n\t\"./el.js\": 837,\n\t\"./en-au\": 8348,\n\t\"./en-au.js\": 8348,\n\t\"./en-ca\": 7925,\n\t\"./en-ca.js\": 7925,\n\t\"./en-gb\": 2243,\n\t\"./en-gb.js\": 2243,\n\t\"./en-ie\": 6436,\n\t\"./en-ie.js\": 6436,\n\t\"./en-il\": 7207,\n\t\"./en-il.js\": 7207,\n\t\"./en-in\": 4175,\n\t\"./en-in.js\": 4175,\n\t\"./en-nz\": 6319,\n\t\"./en-nz.js\": 6319,\n\t\"./en-sg\": 1662,\n\t\"./en-sg.js\": 1662,\n\t\"./eo\": 2915,\n\t\"./eo.js\": 2915,\n\t\"./es\": 5655,\n\t\"./es-do\": 5251,\n\t\"./es-do.js\": 5251,\n\t\"./es-mx\": 6112,\n\t\"./es-mx.js\": 6112,\n\t\"./es-us\": 1146,\n\t\"./es-us.js\": 1146,\n\t\"./es.js\": 5655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 7763,\n\t\"./eu.js\": 7763,\n\t\"./fa\": 6959,\n\t\"./fa.js\": 6959,\n\t\"./fi\": 1897,\n\t\"./fi.js\": 1897,\n\t\"./fil\": 2549,\n\t\"./fil.js\": 2549,\n\t\"./fo\": 4694,\n\t\"./fo.js\": 4694,\n\t\"./fr\": 4470,\n\t\"./fr-ca\": 3049,\n\t\"./fr-ca.js\": 3049,\n\t\"./fr-ch\": 2330,\n\t\"./fr-ch.js\": 2330,\n\t\"./fr.js\": 4470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 9295,\n\t\"./ga.js\": 9295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 8794,\n\t\"./gl.js\": 8794,\n\t\"./gom-deva\": 7884,\n\t\"./gom-deva.js\": 7884,\n\t\"./gom-latn\": 3168,\n\t\"./gom-latn.js\": 3168,\n\t\"./gu\": 5349,\n\t\"./gu.js\": 5349,\n\t\"./he\": 4206,\n\t\"./he.js\": 4206,\n\t\"./hi\": 94,\n\t\"./hi.js\": 94,\n\t\"./hr\": 316,\n\t\"./hr.js\": 316,\n\t\"./hu\": 2138,\n\t\"./hu.js\": 2138,\n\t\"./hy-am\": 1423,\n\t\"./hy-am.js\": 1423,\n\t\"./id\": 9218,\n\t\"./id.js\": 9218,\n\t\"./is\": 135,\n\t\"./is.js\": 135,\n\t\"./it\": 626,\n\t\"./it-ch\": 150,\n\t\"./it-ch.js\": 150,\n\t\"./it.js\": 626,\n\t\"./ja\": 9183,\n\t\"./ja.js\": 9183,\n\t\"./jv\": 4286,\n\t\"./jv.js\": 4286,\n\t\"./ka\": 2105,\n\t\"./ka.js\": 2105,\n\t\"./kk\": 7772,\n\t\"./kk.js\": 7772,\n\t\"./km\": 8758,\n\t\"./km.js\": 8758,\n\t\"./kn\": 9282,\n\t\"./kn.js\": 9282,\n\t\"./ko\": 3730,\n\t\"./ko.js\": 3730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 3291,\n\t\"./ky.js\": 3291,\n\t\"./lb\": 6841,\n\t\"./lb.js\": 6841,\n\t\"./lo\": 5466,\n\t\"./lo.js\": 5466,\n\t\"./lt\": 7010,\n\t\"./lt.js\": 7010,\n\t\"./lv\": 7595,\n\t\"./lv.js\": 7595,\n\t\"./me\": 9861,\n\t\"./me.js\": 9861,\n\t\"./mi\": 5493,\n\t\"./mi.js\": 5493,\n\t\"./mk\": 5966,\n\t\"./mk.js\": 5966,\n\t\"./ml\": 7341,\n\t\"./ml.js\": 7341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 370,\n\t\"./mr.js\": 370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 1237,\n\t\"./ms-my.js\": 1237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 2126,\n\t\"./mt.js\": 2126,\n\t\"./my\": 6165,\n\t\"./my.js\": 6165,\n\t\"./nb\": 4924,\n\t\"./nb.js\": 4924,\n\t\"./ne\": 6744,\n\t\"./ne.js\": 6744,\n\t\"./nl\": 3901,\n\t\"./nl-be\": 9814,\n\t\"./nl-be.js\": 9814,\n\t\"./nl.js\": 3901,\n\t\"./nn\": 3877,\n\t\"./nn.js\": 3877,\n\t\"./oc-lnc\": 2135,\n\t\"./oc-lnc.js\": 2135,\n\t\"./pa-in\": 5858,\n\t\"./pa-in.js\": 5858,\n\t\"./pl\": 4495,\n\t\"./pl.js\": 4495,\n\t\"./pt\": 9520,\n\t\"./pt-br\": 7971,\n\t\"./pt-br.js\": 7971,\n\t\"./pt.js\": 9520,\n\t\"./ro\": 6459,\n\t\"./ro.js\": 6459,\n\t\"./ru\": 1793,\n\t\"./ru.js\": 1793,\n\t\"./sd\": 950,\n\t\"./sd.js\": 950,\n\t\"./se\": 490,\n\t\"./se.js\": 490,\n\t\"./si\": 124,\n\t\"./si.js\": 124,\n\t\"./sk\": 4249,\n\t\"./sk.js\": 4249,\n\t\"./sl\": 4985,\n\t\"./sl.js\": 4985,\n\t\"./sq\": 1104,\n\t\"./sq.js\": 1104,\n\t\"./sr\": 9131,\n\t\"./sr-cyrl\": 9915,\n\t\"./sr-cyrl.js\": 9915,\n\t\"./sr.js\": 9131,\n\t\"./ss\": 5893,\n\t\"./ss.js\": 5893,\n\t\"./sv\": 8760,\n\t\"./sv.js\": 8760,\n\t\"./sw\": 1172,\n\t\"./sw.js\": 1172,\n\t\"./ta\": 7333,\n\t\"./ta.js\": 7333,\n\t\"./te\": 3110,\n\t\"./te.js\": 3110,\n\t\"./tet\": 2095,\n\t\"./tet.js\": 2095,\n\t\"./tg\": 7321,\n\t\"./tg.js\": 7321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 9005,\n\t\"./tk.js\": 9005,\n\t\"./tl-ph\": 5768,\n\t\"./tl-ph.js\": 5768,\n\t\"./tlh\": 9444,\n\t\"./tlh.js\": 9444,\n\t\"./tr\": 2397,\n\t\"./tr.js\": 2397,\n\t\"./tzl\": 8254,\n\t\"./tzl.js\": 8254,\n\t\"./tzm\": 1106,\n\t\"./tzm-latn\": 699,\n\t\"./tzm-latn.js\": 699,\n\t\"./tzm.js\": 1106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 7691,\n\t\"./uk.js\": 7691,\n\t\"./ur\": 3795,\n\t\"./ur.js\": 3795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 588,\n\t\"./uz-latn.js\": 588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 5666,\n\t\"./vi.js\": 5666,\n\t\"./x-pseudo\": 4378,\n\t\"./x-pseudo.js\": 4378,\n\t\"./yo\": 5805,\n\t\"./yo.js\": 5805,\n\t\"./zh-cn\": 3839,\n\t\"./zh-cn.js\": 3839,\n\t\"./zh-hk\": 5726,\n\t\"./zh-hk.js\": 5726,\n\t\"./zh-mo\": 9807,\n\t\"./zh-mo.js\": 9807,\n\t\"./zh-tw\": 4152,\n\t\"./zh-tw.js\": 4152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6700;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"rows\":2,\"is-range\":\"\",\"mode\":\"date\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"btn-group btn-group-sm d-flex\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",attrs:{\"title\":_vm.$t('firefly.custom_period')},on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed: true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"title\":_vm.$t('firefly.reset_to_current')},on:{\"click\":_vm.resetDate}},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"id\":\"dropdownMenuButton\",\"title\":_vm.$t('firefly.select_period'),\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"data-toggle\":\"dropdown\",\"type\":\"button\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},_vm._l((_vm.periods),function(period){return _c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.customDate(period.start, period.end)}}},[_vm._v(_vm._s(period.title))])}),0)]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))])])]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\" class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n</script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=12891edc&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=12891edc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"12891edc\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=12891edc&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"69ef6cc5\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?94b6","webpack:///./src/components/dashboard/Dashboard.vue","webpack:///./src/components/dashboard/Dashboard.vue?1d88","webpack:///./src/components/dashboard/TopBoxes.vue?42ef","webpack:///src/components/dashboard/TopBoxes.vue","webpack:///./src/components/dashboard/TopBoxes.vue?97f7","webpack:///./src/components/dashboard/TopBoxes.vue","webpack:///src/components/charts/DataConverter.vue","webpack:///./src/components/charts/DataConverter.vue?e094","webpack:///./src/components/charts/DataConverter.vue","webpack:///src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?1df9","webpack:///./src/components/charts/DefaultLineOptions.vue","webpack:///./src/components/charts/DefaultLineOptions.vue?9d48","webpack:///src/components/dashboard/MainAccountChart.vue","webpack:///./src/components/dashboard/MainAccountChart.vue?119f","webpack:///./src/components/dashboard/MainAccountChart.vue","webpack:///src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?e0d5","webpack:///./src/components/dashboard/MainAccount.vue","webpack:///./src/components/dashboard/MainAccount.vue?dbec","webpack:///src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?cba7","webpack:///./src/components/dashboard/MainAccountList.vue","webpack:///./src/components/dashboard/MainAccountList.vue?49b1","webpack:///src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?52e4","webpack:///./src/components/dashboard/MainBillsList.vue","webpack:///./src/components/dashboard/MainBillsList.vue?424c","webpack:///src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?796e","webpack:///./src/components/dashboard/BudgetLimitRow.vue","webpack:///./src/components/dashboard/BudgetLimitRow.vue?6b70","webpack:///src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetRow.vue?1331","webpack:///./src/components/dashboard/BudgetRow.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?78de","webpack:///src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetRow.vue?6522","webpack:///./src/components/dashboard/BudgetListGroup.vue","webpack:///./src/components/dashboard/BudgetListGroup.vue?000b","webpack:///src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?ac83","webpack:///./src/components/dashboard/MainBudgetList.vue","webpack:///./src/components/dashboard/MainBudgetList.vue?df81","webpack:///src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?0712","webpack:///./src/components/dashboard/MainCreditList.vue","webpack:///./src/components/dashboard/MainCreditList.vue?6c4d","webpack:///src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?f4cd","webpack:///./src/components/dashboard/MainDebitList.vue","webpack:///./src/components/dashboard/MainDebitList.vue?c70a","webpack:///src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?cbf9","webpack:///./src/components/dashboard/MainPiggyList.vue","webpack:///./src/components/dashboard/MainPiggyList.vue?8b99","webpack:///src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?4e79","webpack:///./src/components/transactions/TransactionListLarge.vue","webpack:///./src/components/transactions/TransactionListLarge.vue?e222","webpack:///src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?8fc8","webpack:///./src/components/transactions/TransactionListMedium.vue","webpack:///./src/components/transactions/TransactionListMedium.vue?6c5b","webpack:///src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?c965","webpack:///./src/components/transactions/TransactionListSmall.vue","webpack:///./src/components/transactions/TransactionListSmall.vue?e6af","webpack:///src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?80ff","webpack:///./src/components/dashboard/MainCategoryList.vue","webpack:///./src/components/dashboard/MainCategoryList.vue?c0ac","webpack:///./src/pages/dashboard.js","webpack:///./src/components/dashboard/Calendar.vue?c12c","webpack:////sites/FF3/release/firefly-iii/frontend/node_modules/moment/locale|sync|/^\\.\\/.*$/","webpack:///./src/components/dashboard/Calendar.vue?d87e","webpack:///src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?6b2f","webpack:///./src/components/dashboard/Calendar.vue","webpack:///./src/components/dashboard/Calendar.vue?93f8"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","_vm","this","_h","$createElement","_c","_self","_v","staticClass","props","summary","balances","billsPaid","billsUnpaid","leftToSpend","netWorth","loading","ready","computed","prefCurrencyBalances","filterOnCurrency","notPrefCurrencyBalances","filterOnNotCurrency","prefBillsUnpaid","notPrefBillsUnpaid","prefLeftToSpend","notPrefLeftToSpend","prefNetWorth","notPrefNetWorth","$store","watch","datesReady","prepareComponent","created","methods","array","hasOwnProperty","key","ret","startStr","endStr","buildComponent","getBalanceEntries","getBillsEntries","getLeftToSpend","getNetWorth","hasCurrency","getKeyedEntries","expected","substr","result","_m","_e","_s","$t","_l","balance","attrs","sub_title","value_parsed","left","nw","staticStyle","dataSet","newDataSet","local","convertChart","count","labels","datasets","getLabels","getDataSets","colorizeBarData","fillColors","colourSet","i","setKey","dataset","fill","backgroundColor","borderColor","colorizeLineData","convertLabelsToDate","labelKey","Intl","DateTimeFormat","format","unixTimeZero","firstSet","entries","entryLabel","oldSet","newSet","label","currency_symbol","yAxisID","formatLabel","sections","words","str","String","split","temp","forEach","item","concat","maxwidth","getDefaultOptions","self","legend","display","animation","duration","responsive","maintainAspectRatio","elements","line","cubicInterpolationMode","scales","xAxes","yAxes","ticks","callback","NumberFormat","beginAtZero","tooltips","mode","callbacks","tooltipItem","datasetIndex","nrString","extends","mixins","reactiveProp","mounted","renderChart","chartData","options","components","dataCollection","chartOptions","DefaultLineOptions","initialiseChart","url","initialiseList","loadAccounts","accountIds","test","loadSingleAccount","accountId","loadTransactions","account","class","title","parseFloat","current_balance","style","bills","initialiseBills","renderPaidDate","obj","transaction_group_id","loadBills","pay_dates","active","amount_min","amount_max","object_group_title","paidDate","domProps","payDate","paid_dates","budgetLimit","Object","default","budget_name","pctGreen","spent","total","pctOrange","pctRed","budgetLimits","Array","budgets","budgetList","daily","weekly","monthly","quarterly","half_year","yearly","other","rawBudgets","getBudgets","income","max","getIncome","parseIncome","mainKey","current","pct","difference_float","sort","entry","width","expenses","min","getExpenses","parseExpenses","piggy_banks","loadPiggyBanks","piggy","left_to_save","a","b","current_amount","target_amount","account_id","Number","transaction","group_title","tr","destination_id","destination_name","source_id","source_name","category_id","category_name","categories","sortedList","earned","getCategories","spentPct","earnedPct","TransactionListLarge","TransactionListMedium","TransactionListSmall","Dashboard","TopBoxes","MainAccount","MainAccountList","MainBillsList","MainBudgetList","MainCategoryList","MainDebitList","MainCreditList","MainPiggyList","i18n","store","el","render","createElement","beforeCreate","Calendar","___CSS_LOADER_EXPORT___","map","webpackContext","req","webpackContextResolve","__webpack_require__","o","e","Error","keys","resolve","defaultRange","periods","resetDate","customDate","generatePeriods","today","firstDayOfMonth","lastDayOfMonth","scopedSlots","_u","fn","ref","inputValue","inputEvents","isDragging","togglePopover","on","$event","placement","positionFixed","period","_g","model","$$v","expression","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBAAkB,GAClBC,eAAgB,GAChBC,KAAM,GACNC,aAAc,GACdC,OAAQ,GACRC,SAAU,GACVC,KAAM,GACNC,KAAM,GACNC,WAAY,GACZC,mBAAoB,GACpBC,aAAc,GACdC,MAAO,GACPC,SAAU,IAIX,SAASC,IACZ,MAAO,CAEHlB,YAAa,GACbmB,uBAAwB,EAExBC,kBAAmB,KACnBC,oBAAqB,KACrBC,oBAAqB,KAErBC,2BAA4B,KAC5BC,6BAA8B,KAC9BC,+BAAgC,KAEhCC,uBAAwB,KACxBC,yBAA0B,KAC1BC,yBAA0B,KAE1BC,gCAAiC,KACjCC,kCAAmC,KACnCC,oCAAqC,KAErCC,eAAgB,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021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - ExampleComponent.vue\n - Copyright (c) 2019 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <top-boxes/>\n <div class=\"row\">\n <div class=\"col\">\n <main-account/>\n </div>\n </div>\n <main-account-list/>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-budget-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col\">\n <main-category-list/>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-debit-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-credit-list/>\n </div>\n </div>\n\n <div class=\"row\">\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-piggy-list/>\n </div>\n <div class=\"col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <main-bills-list/>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"Dashboard\",\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Dashboard.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Dashboard.vue?vue&type=template&id=9d50d3a2&\"\nimport script from \"./Dashboard.vue?vue&type=script&lang=js&\"\nexport * from \"./Dashboard.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('top-boxes'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-account')],1)]),_vm._v(\" \"),_c('main-account-list'),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-budget-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('main-category-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-debit-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-credit-list')],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-piggy-list')],1),_vm._v(\" \"),_c('div',{staticClass:\"col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('main-bills-list')],1)])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t(\"firefly.balance\")))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefCurrencyBalances),function(balance){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":balance.sub_title}},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(1),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefCurrencyBalances),function(balance,index){return _c('span',{attrs:{\"title\":balance.sub_title}},[_vm._v(\"\\n \"+_vm._s(balance.value_parsed)),(index+1 !== _vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefCurrencyBalances.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(2),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.bills_to_pay')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefBillsUnpaid),function(balance){return _c('span',{staticClass:\"info-box-number\"},[_vm._v(_vm._s(balance.value_parsed))])}),_vm._v(\" \"),_vm._m(3),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefBillsUnpaid),function(bill,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(bill.value_parsed)),(index+1 !== _vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefBillsUnpaid.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(4),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.left_to_spend')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefLeftToSpend),function(left){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":left.sub_title}},[_vm._v(_vm._s(left.value_parsed))])}),_vm._v(\" \"),_vm._m(5),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefLeftToSpend),function(left,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(left.value_parsed)),(index+1 !== _vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefLeftToSpend.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"info-box\"},[_vm._m(6),_vm._v(\" \"),_c('div',{staticClass:\"info-box-content\"},[(!_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_vm._v(_vm._s(_vm.$t('firefly.net_worth')))]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('span',{staticClass:\"info-box-text\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e(),_vm._v(\" \"),_vm._l((_vm.prefNetWorth),function(nw){return _c('span',{staticClass:\"info-box-number\",attrs:{\"title\":nw.sub_title}},[_vm._v(_vm._s(nw.value_parsed))])}),_vm._v(\" \"),_vm._m(7),_vm._v(\" \"),_c('span',{staticClass:\"progress-description\"},[_vm._l((_vm.notPrefNetWorth),function(nw,index){return _c('span',[_vm._v(\"\\n \"+_vm._s(nw.value_parsed)),(index+1 !== _vm.notPrefNetWorth.length)?_c('span',[_vm._v(\", \")]):_vm._e()])}),_vm._v(\" \"),(0===_vm.notPrefNetWorth.length)?_c('span',[_vm._v(\" \")]):_vm._e()],2)],2)])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-bookmark text-info\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-info\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"far fa-calendar-alt text-teal\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-teal\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('span',{staticClass:\"info-box-icon\"},[_c('i',{staticClass:\"fas fa-money-bill text-success\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"progress bg-success\"},[_c('div',{staticClass:\"progress-bar\",staticStyle:{\"width\":\"0\"}})])}]\n\nexport { render, staticRenderFns }","<!--\n - TopBoxes.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"row\">\n <div class=\"col\"> <!-- col-md-3 col-sm-6 col-12 -->\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-bookmark text-info\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t(\"firefly.balance\") }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- balance in preferred currency -->\n <span v-for=\"balance in prefCurrencyBalances\" :title=\"balance.sub_title\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-info\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- balance in not preferred currency -->\n <span class=\"progress-description\">\n <span v-for=\"(balance, index) in notPrefCurrencyBalances\" :title=\"balance.sub_title\">\n {{ balance.value_parsed }}<span v-if=\"index+1 !== notPrefCurrencyBalances.length\">, </span>\n </span>\n <span v-if=\"0===notPrefCurrencyBalances.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"far fa-calendar-alt text-teal\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.bills_to_pay') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- bills unpaid, in preferred currency. -->\n <span v-for=\"balance in prefBillsUnpaid\" class=\"info-box-number\">{{ balance.value_parsed }}</span>\n\n <div class=\"progress bg-teal\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- bills unpaid, in other currencies. -->\n <span class=\"progress-description\">\n <span v-for=\"(bill, index) in notPrefBillsUnpaid\">\n {{ bill.value_parsed }}<span v-if=\"index+1 !== notPrefBillsUnpaid.length\">, </span>\n </span>\n <span v-if=\"0===notPrefBillsUnpaid.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n <!-- left to spend -->\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.left_to_spend') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <!-- left to spend in preferred currency -->\n <span v-for=\"left in prefLeftToSpend\" :title=\"left.sub_title\" class=\"info-box-number\">{{ left.value_parsed }}</span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <!-- other currencies-->\n <span class=\"progress-description\">\n <span v-for=\"(left, index) in notPrefLeftToSpend\">\n {{ left.value_parsed }}<span v-if=\"index+1 !== notPrefLeftToSpend.length\">, </span>\n </span>\n <span v-if=\"0===notPrefLeftToSpend.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n <!-- net worth -->\n <div class=\"col\">\n <div class=\"info-box\">\n <span class=\"info-box-icon\"><i class=\"fas fa-money-bill text-success\"></i></span>\n\n <div class=\"info-box-content\">\n <span v-if=\"!loading && !error\" class=\"info-box-text\">{{ $t('firefly.net_worth') }}</span>\n <span v-if=\"loading && !error\" class=\"info-box-text\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n <span v-if=\"error\" class=\"info-box-text\"><i class=\"fas fa-exclamation-triangle text-danger\"></i></span>\n <span v-for=\"nw in prefNetWorth\" :title=\"nw.sub_title\" class=\"info-box-number\">{{ nw.value_parsed }}</span>\n\n <div class=\"progress bg-success\">\n <div class=\"progress-bar\" style=\"width: 0\"></div>\n </div>\n <span class=\"progress-description\">\n <span v-for=\"(nw, index) in notPrefNetWorth\">\n {{ nw.value_parsed }}<span v-if=\"index+1 !== notPrefNetWorth.length\">, </span>\n </span>\n <span v-if=\"0===notPrefNetWorth.length\">&nbsp;</span>\n </span>\n </div>\n </div>\n </div>\n\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"TopBoxes\",\n props: {},\n data() {\n return {\n summary: [],\n balances: [],\n billsPaid: [],\n billsUnpaid: [],\n leftToSpend: [],\n netWorth: [],\n loading: true,\n error: false,\n ready: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n\n // contains only balances with preferred currency.\n prefCurrencyBalances: function () {\n return this.filterOnCurrency(this.balances);\n },\n notPrefCurrencyBalances: function () {\n return this.filterOnNotCurrency(this.balances);\n },\n\n // contains only bills unpaid in preferred currency or first one.\n prefBillsUnpaid: function () {\n return this.filterOnCurrency(this.billsUnpaid);\n },\n notPrefBillsUnpaid: function () {\n return this.filterOnNotCurrency(this.billsUnpaid);\n },\n\n // left to spend\n prefLeftToSpend: function () {\n return this.filterOnCurrency(this.leftToSpend);\n },\n notPrefLeftToSpend: function () {\n return this.filterOnNotCurrency(this.leftToSpend);\n },\n\n // net worth\n prefNetWorth: function () {\n return this.filterOnCurrency(this.netWorth);\n },\n notPrefNetWorth: function () {\n return this.filterOnNotCurrency(this.netWorth);\n },\n currencyCode() {\n return this.$store.getters.currencyCode;\n },\n currencyId() {\n return this.$store.getters.currencyId;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.prepareComponent();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.prepareComponent();\n }\n },\n },\n created() {\n this.ready = true;\n },\n methods: {\n filterOnCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n // console.log('Currency ID seems to be ' + this.currencyId);\n if (array[key].currency_id === this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n // or just the first one:\n if (0 === ret.length && array.hasOwnProperty(0)) {\n ret.push(array[0]);\n }\n return ret;\n },\n filterOnNotCurrency(array) {\n let ret = [];\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id !== this.currencyId) {\n ret.push(array[key]);\n }\n }\n }\n return ret;\n },\n /**\n * Prepare the component.\n */\n prepareComponent() {\n this.error = false;\n this.loading = true;\n this.summary = [];\n this.balances = [];\n this.billsPaid = [];\n this.billsUnpaid = [];\n this.leftToSpend = [];\n this.netWorth = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/summary/basic?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.summary = response.data;\n this.buildComponent();\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n buildComponent() {\n this.getBalanceEntries();\n this.getBillsEntries();\n this.getLeftToSpend();\n this.getNetWorth();\n },\n\n hasCurrency: function (array) {\n for (const key in array) {\n if (array.hasOwnProperty(key)) {\n if (array[key].currency_id === this.currencyId) {\n return true;\n }\n }\n }\n return false;\n },\n\n getBalanceEntries() {\n this.balances = this.getKeyedEntries('balance-in-');\n },\n getNetWorth() {\n this.netWorth = this.getKeyedEntries('net-worth-in-');\n },\n getLeftToSpend() {\n this.leftToSpend = this.getKeyedEntries('left-to-spend-in-');\n },\n getBillsEntries() {\n this.billsPaid = this.getKeyedEntries('bills-paid-in-');\n this.billsUnpaid = this.getKeyedEntries('bills-unpaid-in-');\n },\n getKeyedEntries(expected) {\n let result = [];\n for (const key in this.summary) {\n if (this.summary.hasOwnProperty(key)) {\n if (expected === key.substr(0, expected.length)) {\n result.push(this.summary[key]);\n }\n }\n }\n return result;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TopBoxes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TopBoxes.vue?vue&type=template&id=5c6cdcc5&\"\nimport script from \"./TopBoxes.vue?vue&type=script&lang=js&\"\nexport * from \"./TopBoxes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - DataConverter.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\nexport default {\n name: \"DataConverter\",\n data() {\n return {\n dataSet: null,\n newDataSet: null,\n locale: localStorage.local,\n }\n },\n methods: {\n convertChart(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n }\n this.getLabels();\n this.getDataSets();\n this.newDataSet.count = this.newDataSet.datasets.length;\n return this.newDataSet;\n },\n\n colorizeBarData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n\n colorizeLineData(dataSet) {\n this.dataSet = dataSet;\n this.newDataSet = {\n count: 0,\n labels: [],\n datasets: []\n };\n // colors\n let colourSet = [\n [53, 124, 165],\n [0, 141, 76], // green\n [219, 139, 11],\n [202, 25, 90], // paars rood-ish #CA195A\n [85, 82, 153],\n [66, 133, 244],\n [219, 68, 55], // red #DB4437\n [244, 180, 0],\n [15, 157, 88],\n [171, 71, 188],\n [0, 172, 193],\n [255, 112, 67],\n [158, 157, 36],\n [92, 107, 192],\n [240, 98, 146],\n [0, 121, 107],\n [194, 24, 91]\n ];\n\n let fillColors = [];\n //let strokePointHighColors = [];\n\n\n for (let i = 0; i < colourSet.length; i++) {\n fillColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.5)\");\n //strokePointHighColors.push(\"rgba(\" + colourSet[i][0] + \", \" + colourSet[i][1] + \", \" + colourSet[i][2] + \", 0.9)\");\n }\n this.newDataSet.labels = this.dataSet.labels;\n this.newDataSet.count = this.dataSet.count;\n for (let setKey in this.dataSet.datasets) {\n if (this.dataSet.datasets.hasOwnProperty(setKey)) {\n var dataset = this.dataSet.datasets[setKey];\n dataset.fill = false;\n dataset.backgroundColor = dataset.borderColor = fillColors[setKey];\n this.newDataSet.datasets.push(dataset);\n }\n }\n return this.newDataSet;\n },\n convertLabelsToDate(dataSet) {\n for (let labelKey in dataSet.labels) {\n if (dataSet.labels.hasOwnProperty(labelKey)) {\n const unixTimeZero = Date.parse(dataSet.labels[labelKey]);\n dataSet.labels[labelKey] = new Intl.DateTimeFormat(this.locale).format(unixTimeZero);\n }\n }\n return dataSet;\n },\n getLabels() {\n let firstSet = this.dataSet[0];\n if (typeof firstSet !== 'undefined') {\n for (const entryLabel in firstSet.entries) {\n if (firstSet.entries.hasOwnProperty(entryLabel)) {\n this.newDataSet.labels.push(entryLabel);\n }\n }\n }\n },\n getDataSets() {\n for (const setKey in this.dataSet) {\n if (this.dataSet.hasOwnProperty(setKey)) {\n let newSet = {};\n let oldSet = this.dataSet[setKey];\n if (typeof oldSet !== 'undefined') {\n newSet.label = oldSet.label;\n newSet.type = oldSet.type;\n newSet.currency_symbol = oldSet.currency_symbol;\n newSet.currency_code = oldSet.currency_code;\n newSet.yAxisID = oldSet.yAxisID;\n newSet.data = [];\n for (const entryLabel in oldSet.entries) {\n if (oldSet.entries.hasOwnProperty(entryLabel)) {\n newSet.data.push(oldSet.entries[entryLabel]);\n }\n }\n this.newDataSet.datasets.push(newSet);\n }\n }\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DataConverter.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./DataConverter.vue?vue&type=script&lang=js&\"\nexport * from \"./DataConverter.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - DefaultLineOptions.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n</template>\n\n\n<script>\n\nexport default {\n name: \"DefaultLineOptions\",\n data() {\n return {}\n },\n methods: {\n /**\n * Takes a string phrase and breaks it into separate phrases no bigger than 'maxwidth', breaks are made at complete words.\n * https://stackoverflow.com/questions/21409717/chart-js-and-long-labels\n *\n * @param str\n * @param maxwidth\n * @returns {Array}\n */\n formatLabel(str, maxwidth) {\n var sections = [];\n str = String(str);\n var words = str.split(\" \");\n var temp = \"\";\n\n words.forEach(function (item, index) {\n if (temp.length > 0) {\n var concat = temp + ' ' + item;\n\n if (concat.length > maxwidth) {\n sections.push(temp);\n temp = \"\";\n } else {\n if (index === (words.length - 1)) {\n sections.push(concat);\n return;\n } else {\n temp = concat;\n return;\n }\n }\n }\n\n if (index === (words.length - 1)) {\n sections.push(item);\n return;\n }\n\n if (item.length < maxwidth) {\n temp = item;\n } else {\n sections.push(item);\n }\n\n });\n\n return sections;\n },\n getDefaultOptions() {\n var self = this;\n return {\n legend: {\n display: false,\n },\n animation: {\n duration: 0,\n },\n responsive: true,\n maintainAspectRatio: false,\n elements: {\n line: {\n cubicInterpolationMode: 'monotone'\n }\n },\n scales: {\n xAxes: [\n {\n gridLines: {\n display: false\n },\n ticks: {\n // break ticks when too long\n callback: function (value, index, values) {\n // date format\n let dateObj = new Date(value);\n let options = {year: 'numeric', month: 'long', day: 'numeric'};\n let str = new Intl.DateTimeFormat(localStorage.locale, options).format(dateObj);\n //console.log();\n //return self.formatLabel(value, 20);\n return self.formatLabel(str, 20);\n }\n }\n }\n ],\n yAxes: [{\n display: true,\n ticks: {\n callback: function (tickValue) {\n \"use strict\";\n let currencyCode = this.chart.data.datasets[0].currency_code ? this.chart.data.datasets[0].currency_code : 'EUR';\n return new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tickValue);\n },\n beginAtZero: true\n }\n\n }]\n },\n tooltips: {\n mode: 'index',\n callbacks: {\n label: function (tooltipItem, data) {\n \"use strict\";\n let currencyCode = data.datasets[tooltipItem.datasetIndex].currency_code ? data.datasets[tooltipItem.datasetIndex].currency_code : 'EUR';\n let nrString =\n new Intl.NumberFormat(localStorage.locale, {style: 'currency', currency: currencyCode}).format(tooltipItem.yLabel)\n\n return data.datasets[tooltipItem.datasetIndex].label + ': ' + nrString;\n }\n }\n }\n };\n }\n\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./DefaultLineOptions.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./DefaultLineOptions.vue?vue&type=template&id=5f7e90aa&scoped=true&\"\nimport script from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\nexport * from \"./DefaultLineOptions.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5f7e90aa\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c(\"div\")}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountChart.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<script>\n\nimport {Line, mixins} from 'vue-chartjs'\n\nconst {reactiveProp} = mixins\n\nexport default {\n extends: Line,\n mixins: [reactiveProp],\n props: ['options'],\n mounted() {\n this.renderChart(this.chartData, this.options)\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!./MainAccountChart.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountChart.vue?vue&type=script&lang=js&\"","var render, staticRenderFns\nimport script from \"./MainAccountChart.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountChart.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport 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 - MainAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.yourAccounts') }}</h3>\n </div>\n <div class=\"card-body\">\n <div v-if=\"!loading\">\n <MainAccountChart v-if=\"!loading && !error\" :chart-data=\"dataCollection\" :options=\"chartOptions\"/>\n </div>\n <div v-if=\"loading && !error\" class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n <div v-if=\"error\" class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./accounts/asset\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_asset_accounts') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport DataConverter from \"../charts/DataConverter\";\nimport DefaultLineOptions from \"../charts/DefaultLineOptions\";\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport MainAccountChart from \"./MainAccountChart\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccount\",\n components: {MainAccountChart},\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n dataCollection: {},\n chartOptions: {}\n }\n },\n created() {\n this.ready = true;\n this.chartOptions = DefaultLineOptions.methods.getDefaultOptions();\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseChart();\n }\n },\n start: function () {\n this.initialiseChart();\n },\n end: function () {\n this.initialiseChart();\n },\n },\n methods: {\n initialiseChart: function () {\n this.loading = true;\n this.error = false;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n let url = './api/v1/chart/account/overview?start=' + startStr + '&end=' + endStr;\n // console.log('URL is ' + url);\n axios.get(url)\n .then(response => {\n let chartData = DataConverter.methods.convertChart(response.data);\n chartData = DataConverter.methods.colorizeLineData(chartData);\n this.dataCollection = chartData;\n this.loading = false;\n })\n .catch(error => {\n // console.log('Has error!');\n // console.log(error);\n this.error = true;\n // console.error(error);\n });\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccount.vue?vue&type=template&id=53c6b338&\"\nimport script from \"./MainAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.yourAccounts')))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[(!_vm.loading)?_c('div',[(!_vm.loading && !_vm.error)?_c('MainAccountChart',{attrs:{\"chart-data\":_vm.dataCollection,\"options\":_vm.chartOptions}}):_vm._e()],1):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./accounts/asset\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_asset_accounts')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainAccountList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- row if loading -->\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if error -->\n <div v-if=\"error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n\n <!-- row if normal -->\n <div v-if=\"!loading && !error\" class=\"row\">\n <div\n v-for=\"account in accounts\"\n v-bind:class=\"{ 'col-lg-12': 1 === accounts.length, 'col-lg-6': 2 === accounts.length, 'col-lg-4': accounts.length > 2 }\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\"><a :href=\"account.url\">{{ account.title }}</a></h3>\n <div class=\"card-tools\">\n <span :class=\"parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)) }}\n </span>\n </div>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <div>\n <transaction-list-large v-if=\"1===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-medium v-if=\"2===accounts.length\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n <transaction-list-small v-if=\"accounts.length > 2\" :account_id=\"account.id\" :transactions=\"account.transactions\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainAccountList\",\n data() {\n return {\n loading: true,\n error: false,\n ready: false,\n accounts: [],\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseList();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseList();\n }\n },\n },\n methods: {\n initialiseList: function () {\n this.loading = true;\n this.accounts = [];\n axios.get('./api/v1/preferences/frontpageAccounts')\n .then(response => {\n this.loadAccounts(response);\n }\n );\n },\n loadAccounts(response) {\n let accountIds = response.data.data.attributes.data;\n for (let key in accountIds) {\n if (accountIds.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n this.accounts.push({\n id: accountIds[key],\n title: '',\n url: '',\n include: false,\n current_balance: '0',\n currency_code: 'EUR',\n transactions: []\n });\n this.loadSingleAccount(key, accountIds[key]);\n }\n }\n },\n loadSingleAccount(key, accountId) {\n axios.get('./api/v1/accounts/' + accountId)\n .then(response => {\n let account = response.data.data;\n if ('asset' === account.attributes.type || 'liabilities' === account.attributes.type) {\n this.accounts[key].title = account.attributes.name;\n this.accounts[key].url = './accounts/show/' + account.id;\n this.accounts[key].current_balance = account.attributes.current_balance;\n this.accounts[key].currency_code = account.attributes.currency_code;\n this.accounts[key].include = true;\n this.loadTransactions(key, accountId);\n }\n }\n );\n },\n loadTransactions(key, accountId) {\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/accounts/' + accountId + '/transactions?page=1&limit=10&start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.accounts[key].transactions = response.data.data;\n this.loading = false;\n this.error = false;\n }\n );\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainAccountList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainAccountList.vue?vue&type=template&id=3b8050c6&scoped=true&\"\nimport script from \"./MainAccountList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainAccountList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3b8050c6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},_vm._l((_vm.accounts),function(account){return _c('div',{class:{ 'col-lg-12': 1 === _vm.accounts.length, 'col-lg-6': 2 === _vm.accounts.length, 'col-lg-4': _vm.accounts.length > 2 }},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_c('a',{attrs:{\"href\":account.url}},[_vm._v(_vm._s(account.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-tools\"},[_c('span',{class:parseFloat(account.current_balance) < 0 ? 'text-danger' : 'text-success'},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: account.currency_code}).format(parseFloat(account.current_balance)))+\"\\n \")])])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('div',[(1===_vm.accounts.length)?_c('transaction-list-large',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(2===_vm.accounts.length)?_c('transaction-list-medium',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e(),_vm._v(\" \"),(_vm.accounts.length > 2)?_c('transaction-list-small',{attrs:{\"account_id\":account.id,\"transactions\":account.transactions}}):_vm._e()],1)])])])}),0):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainBills.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.bills') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.bills') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.name') }}</th>\n <th scope=\"col\" style=\"width:25%;\">{{ $t('list.next_expected_match') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"bill in this.bills\">\n <td><a :href=\"'./bills/show/' + bill.id\" :title=\"bill.attributes.name\">{{ bill.attributes.name }}</a>\n (~ <span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)\n }}</span>)\n <small v-if=\"bill.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ bill.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <span v-for=\"paidDate in bill.attributes.paid_dates\">\n <span v-html=\"renderPaidDate(paidDate)\"/><br/>\n </span>\n <span v-for=\"payDate in bill.attributes.pay_dates\" v-if=\"0===bill.attributes.paid_dates.length\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)) }}\n <br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./bills\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_bills') }}</a>\n </div>\n </div>\n</template>\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\nexport default {\n name: \"MainBillsList\",\n data() {\n return {\n bills: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.initialiseBills();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.initialiseBills();\n }\n },\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n components: {},\n methods: {\n initialiseBills: function () {\n this.loading = true;\n this.bills = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n\n axios.get('./api/v1/bills?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.loadBills(response.data.data);\n }\n ).catch(error => {\n this.error = true;\n this.loading = false;\n });\n },\n renderPaidDate: function (obj) {\n let dateStr = new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(obj.date));\n let str = this.$t('firefly.bill_paid_on', {date: dateStr});\n return '<a href=\"./transactions/show/' + obj.transaction_group_id + '\" title=\"' + str + '\">' + str + '</a>';\n },\n loadBills: function (data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n\n let bill = data[key];\n let active = bill.attributes.active;\n if (bill.attributes.pay_dates.length > 0 && active) {\n this.bills.push(bill);\n }\n }\n }\n this.error = false;\n this.loading = false;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBillsList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBillsList.vue?vue&type=template&id=547b1023&\"\nimport script from \"./MainBillsList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBillsList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.bills')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.bills')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.name')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"25%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.next_expected_match')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.bills),function(bill){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./bills/show/' + bill.id,\"title\":bill.attributes.name}},[_vm._v(_vm._s(bill.attributes.name))]),_vm._v(\"\\n (~ \"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: bill.attributes.currency_code}).format((parseFloat(bill.attributes.amount_min) +\n parseFloat(bill.attributes.amount_max)) / -2)))]),_vm._v(\")\\n \"),(bill.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(bill.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_vm._l((bill.attributes.paid_dates),function(paidDate){return _c('span',[_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.renderPaidDate(paidDate))}}),_c('br')])}),_vm._v(\" \"),_vm._l((bill.attributes.pay_dates),function(payDate){return (0===bill.attributes.paid_dates.length)?_c('span',[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(new Date(payDate)))+\"\\n \"),_c('br')]):_vm._e()})],2)])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./bills\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_bills')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budgetLimit.budget_id\">{{ budgetLimit.budget_name }}</a>\n </td>\n\n <td style=\"vertical-align: middle\">\n <div class=\"progress progress active\">\n <div :aria-valuenow=\"budgetLimit.pctGreen\" :style=\"'width: '+ budgetLimit.pctGreen + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-success progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctGreen > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n <!-- -->\n </span>\n\n\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctOrange\" :style=\"'width: '+ budgetLimit.pctOrange + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-warning progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctRed <= 50 && budgetLimit.pctOrange > 35\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <div :aria-valuenow=\"budgetLimit.pctRed\" :style=\"'width: '+ budgetLimit.pctRed + '%;'\"\n aria-valuemax=\"100\" aria-valuemin=\"0\" class=\"progress-bar bg-danger progress-bar-striped\" role=\"progressbar\">\n <span v-if=\"budgetLimit.pctOrange <= 50 && budgetLimit.pctRed > 35\" class=\"text-muted\">\n {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n </div>\n\n <!-- amount if bar is very small -->\n <span v-if=\"budgetLimit.pctGreen <= 35 && 0 === budgetLimit.pctOrange && 0 === budgetLimit.pctRed && 0 !== budgetLimit.pctGreen\" style=\"line-height: 16px;\">\n &nbsp; {{ $t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.spent), total: Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(budgetLimit.amount)}) }}\n </span>\n\n </div>\n <small class=\"d-none d-lg-block\">\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.start) }}\n &rarr;\n {{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(budgetLimit.end) }}\n </small>\n </td>\n\n <td class=\"align-middle d-none d-lg-table-cell\" style=\"width:10%;\">\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) > 0\" class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n <span v-if=\"0.0 === parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent)\" class=\"text-muted\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budgetLimit.currency_code}).format(0) }}\n </span>\n <span v-if=\"parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent) < 0\" class=\"text-danger\">\n {{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: budgetLimit.currency_code\n }).format(parseFloat(budgetLimit.amount) + parseFloat(budgetLimit.spent))\n }}\n </span>\n </td>\n </tr>\n\n</template>\n\n<script>\nexport default {\n name: \"BudgetLimitRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budgetLimit: {\n type: Object,\n default: function () {\n return {};\n }\n },\n budget: {\n type: Object,\n default: function () {\n return {};\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetLimitRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetLimitRow.vue?vue&type=template&id=7988ecb6&scoped=true&\"\nimport script from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetLimitRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7988ecb6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budgetLimit.budget_id}},[_vm._v(_vm._s(_vm.budgetLimit.budget_name))])]),_vm._v(\" \"),_c('td',{staticStyle:{\"vertical-align\":\"middle\"}},[_c('div',{staticClass:\"progress progress active\"},[_c('div',{staticClass:\"progress-bar bg-success progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctGreen + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctGreen,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctGreen > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-warning progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctOrange + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctOrange,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctRed <= 50 && _vm.budgetLimit.pctOrange > 35)?_c('span',[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar bg-danger progress-bar-striped\",style:('width: '+ _vm.budgetLimit.pctRed + '%;'),attrs:{\"aria-valuenow\":_vm.budgetLimit.pctRed,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(_vm.budgetLimit.pctOrange <= 50 && _vm.budgetLimit.pctRed > 35)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(_vm.budgetLimit.pctGreen <= 35 && 0 === _vm.budgetLimit.pctOrange && 0 === _vm.budgetLimit.pctRed && 0 !== _vm.budgetLimit.pctGreen)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n   \"+_vm._s(_vm.$t('firefly.spent_x_of_y', {amount: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.spent), total: Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(_vm.budgetLimit.amount)}))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('small',{staticClass:\"d-none d-lg-block\"},[_vm._v(\"\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.start))+\"\\n →\\n \"+_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.budgetLimit.end))+\"\\n \")])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle d-none d-lg-table-cell\",staticStyle:{\"width\":\"10%\"}},[(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) > 0)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(0.0 === parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent))?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budgetLimit.currency_code}).format(0))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent) < 0)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: _vm.budgetLimit.currency_code\n }).format(parseFloat(_vm.budgetLimit.amount) + parseFloat(_vm.budgetLimit.spent)))+\"\\n \")]):_vm._e()])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - BudgetRow.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n\n<template>\n <tr>\n <td style=\"width:25%;\">\n <a :href=\"'./budgets/show/' + budget.id\">{{ budget.name }}</a>\n </td>\n <td class=\"align-middle text-right\">\n <span class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: budget.currency_code}).format(parseFloat(budget.spent)) }}\n </span>\n </td>\n </tr>\n</template>\n\n<script>\nexport default {\n name: \"BudgetRow\",\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n }\n },\n props: {\n budget: {\n type: Object,\n default: {}\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetRow.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./BudgetRow.vue?vue&type=template&id=2fc8f640&scoped=true&\"\nimport script from \"./BudgetRow.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetRow.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2fc8f640\",\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./BudgetListGroup.vue?vue&type=script&lang=js&\"","<!--\n - BudgetListGroup.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ title }}</h3>\n </div>\n <div class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ title }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n <th scope=\"col\">{{ $t('firefly.left') }}</th>\n </tr>\n </thead>\n <tbody>\n <BudgetLimitRow v-for=\"(budgetLimit, key) in budgetLimits\" v-bind:key=\"key\" :budgetLimit=\"budgetLimit\"/>\n <BudgetRow v-for=\"(budget, key) in budgets\" v-bind:key=\"key\" :budget=\"budget\"/>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./budgets\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_budgets') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetLimitRow from \"./BudgetLimitRow\";\nimport BudgetRow from \"./BudgetRow\";\n\nexport default {\n name: \"BudgetListGroup\",\n components: {BudgetLimitRow, BudgetRow},\n props: {\n title: String,\n budgetLimits: Array,\n budgets: Array,\n },\n}\n</script>\n\n<style scoped>\n\n</style>","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('tr',[_c('td',{staticStyle:{\"width\":\"25%\"}},[_c('a',{attrs:{\"href\":'./budgets/show/' + _vm.budget.id}},[_vm._v(_vm._s(_vm.budget.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle text-right\"},[_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: _vm.budget.currency_code}).format(parseFloat(_vm.budget.spent)))+\"\\n \")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./BudgetListGroup.vue?vue&type=template&id=2b21deef&scoped=true&\"\nimport script from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\nexport * from \"./BudgetListGroup.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2b21deef\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.title))])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.title))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.left')))])])]),_vm._v(\" \"),_c('tbody',[_vm._l((_vm.budgetLimits),function(budgetLimit,key){return _c('BudgetLimitRow',{key:key,attrs:{\"budgetLimit\":budgetLimit}})}),_vm._v(\" \"),_vm._l((_vm.budgets),function(budget,key){return _c('BudgetRow',{key:key,attrs:{\"budget\":budget}})})],2)])]),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./budgets\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_budgets')))])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainBudgetList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <!-- daily budgets (will be the exception, I expect) -->\n <div v-if=\"!loading\" class=\"row\">\n <div v-if=\"budgetLimits.daily.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.daily :title=\"$t('firefly.daily_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.weekly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.weekly :title=\"$t('firefly.weekly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.monthly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.monthly :title=\"$t('firefly.monthly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.quarterly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.quarterly :title=\"$t('firefly.quarterly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.half_year.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.half_year :title=\"$t('firefly.half_year_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.yearly.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.yearly :title=\"$t('firefly.yearly_budgets')\"\n />\n </div>\n <div v-if=\"budgetLimits.other.length > 0 || rawBudgets.length > 0\" class=\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\">\n <BudgetListGroup :budgetLimits=budgetLimits.other :budgets=\"rawBudgets\" :title=\"$t('firefly.other_budgets')\"\n />\n </div>\n </div>\n <div v-if=\"loading && !error\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport BudgetListGroup from \"./BudgetListGroup\";\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainBudgetList\",\n components: {BudgetListGroup},\n data() {\n return {\n budgetList: ['daily', 'weekly', 'monthly', 'quarterly', 'half_year', 'yearly', 'other'],\n budgetLimits: {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n },\n budgets: {}, // used to collect some meta data.\n rawBudgets: [],\n locale: 'en-US',\n ready: false,\n loading: true,\n error: false\n }\n },\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getBudgets();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getBudgets();\n }\n },\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n methods:\n {\n getBudgets: function () {\n this.budgets = {};\n this.rawBudgets = [];\n this.budgetLimits = {\n daily: [],\n weekly: [],\n monthly: [],\n quarterly: [],\n half_year: [],\n yearly: [],\n other: [],\n };\n this.loading = true;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/budgets?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n if (false === current.attributes.active) {\n // skip inactive budgets\n continue;\n }\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n this.rawBudgets.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name,\n currency_id: parseInt(spentData.currency_id),\n currency_code: spentData.currency_code,\n spent: spentData.sum\n }\n );\n console.log('Added budget ' + current.attributes.name + ' (' + spentData.currency_code + ')');\n }\n }\n }\n }\n this.getBudgetLimits();\n },\n getBudgetLimits() {\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/budget-limits?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseBudgetLimits(response.data);\n this.loading = false;\n }\n );\n },\n parseBudgetLimits(data) {\n // collect budget meta data.\n for (let i in data.included) {\n if (data.included.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.included[i];\n let currentId = parseInt(current.id);\n this.budgets[currentId] =\n {\n id: currentId,\n name: current.attributes.name,\n };\n console.log('Collected meta data: budget #' + currentId + ' is named ' + current.attributes.name);\n }\n }\n\n for (let i in data.data) {\n if (data.data.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = data.data[i];\n let currentId = parseInt(current.id);\n let budgetId = parseInt(current.attributes.budget_id);\n let currencyId = parseInt(current.attributes.currency_id);\n let spentFloat = parseFloat(current.attributes.spent);\n let spentFloatPos = parseFloat(current.attributes.spent) * -1;\n let amount = parseFloat(current.attributes.amount);\n let period = current.attributes.period ?? 'other';\n let pctGreen = 0;\n let pctOrange = 0;\n let pctRed = 0;\n //console.log('Collected \"' + period + '\" budget limit #' + currentId + ' (part of budget #' + budgetId + ')');\n //console.log('Spent ' + spentFloat + ' of ' + amount);\n\n // remove budget info from rawBudgets if it's there:\n this.filterBudgets(budgetId, currencyId);\n\n // spent within budget:\n if (0.0 !== spentFloat && spentFloatPos < amount) {\n pctGreen = (spentFloatPos / amount) * 100;\n }\n\n // spent over budget\n if (0.0 !== spentFloatPos && spentFloatPos > amount) {\n pctOrange = (spentFloatPos / amount) * 100;\n pctRed = 100 - pctOrange;\n }\n let obj = {\n id: currentId,\n amount: current.attributes.amount,\n budget_id: budgetId,\n budget_name: this.budgets[current.attributes.budget_id].name,\n currency_id: currencyId,\n currency_code: current.attributes.currency_code,\n period: current.attributes.period,\n start: new Date(current.attributes.start),\n end: new Date(current.attributes.end),\n spent: current.attributes.spent,\n pctGreen: pctGreen,\n pctOrange: pctOrange,\n pctRed: pctRed,\n };\n\n this.budgetLimits[period].push(obj);\n }\n }\n },\n\n filterBudgets(budgetId, currencyId) {\n for (let i in this.rawBudgets) {\n if (this.rawBudgets.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.rawBudgets[i].currency_id === currencyId && this.rawBudgets[i].id === budgetId) {\n console.log('Budget ' + this.rawBudgets[i].name + ' with currency ' + this.rawBudgets[i].currency_code + ' will be removed in favor of a budget limit.');\n this.rawBudgets.splice(parseInt(i), 1);\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainBudgetList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainBudgetList.vue?vue&type=template&id=66a7692f&scoped=true&\"\nimport script from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainBudgetList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"66a7692f\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(!_vm.loading)?_c('div',{staticClass:\"row\"},[(_vm.budgetLimits.daily.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.daily,\"title\":_vm.$t('firefly.daily_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.weekly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.weekly,\"title\":_vm.$t('firefly.weekly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.monthly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.monthly,\"title\":_vm.$t('firefly.monthly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.quarterly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.quarterly,\"title\":_vm.$t('firefly.quarterly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.half_year.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.half_year,\"title\":_vm.$t('firefly.half_year_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.yearly.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.yearly,\"title\":_vm.$t('firefly.yearly_budgets')}})],1):_vm._e(),_vm._v(\" \"),(_vm.budgetLimits.other.length > 0 || _vm.rawBudgets.length > 0)?_c('div',{staticClass:\"col-xl-6 col-lg-12 col-md-12 col-sm-12 col-xs-12\"},[_c('BudgetListGroup',{attrs:{\"budgetLimits\":_vm.budgetLimits.other,\"budgets\":_vm.rawBudgets,\"title\":_vm.$t('firefly.other_budgets')}})],1):_vm._e()]):_vm._e(),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"row\"},[_vm._m(0)]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])])])])}]\n\nexport { render, staticRenderFns }","<!--\n - MainCreditList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.revenue_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.revenue_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in income\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/deposit\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_deposits') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n// TODO same as credit list but reversed\n\nexport default {\n name: \"MainCreditList\",\n data() {\n return {\n locale: 'en-US',\n income: [],\n max: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getIncome();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getIncome();\n }\n },\n },\n methods: {\n getIncome() {\n this.loading = true;\n this.income = [];\n this.error = false;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/insight/income/revenue?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseIncome(response.data);\n this.loading = false;\n }).catch(error => {\n this.error = true\n });\n },\n parseIncome(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey)) {\n mainKey = parseInt(mainKey);\n // contains currency info and entries.\n let current = data[mainKey];\n current.pct = 0;\n this.max = current.difference_float > this.max ? current.difference_float : this.max;\n this.income.push(current);\n }\n }\n if (0 === this.max) {\n this.max = 1;\n }\n // now sort + pct:\n for (let i in this.income) {\n if (this.income.hasOwnProperty(i)) {\n let current = this.income[i];\n current.pct = (current.difference_float / this.max) * 100;\n this.income[i] = current;\n }\n }\n this.income.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCreditList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCreditList.vue?vue&type=template&id=3e98985a&\"\nimport script from \"./MainCreditList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCreditList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.revenue_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.income),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/deposit\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_deposits')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainDebitList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.expense_accounts') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.expense_accounts') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"entry in expenses\">\n <td style=\"width:20%;\"><a :href=\"'./accounts/show/' + entry.id\">{{ entry.name }}</a></td>\n <td class=\"align-middle\">\n <div v-if=\"entry.pct > 0\" class=\"progress\">\n <div :aria-valuenow=\"entry.pct\" :style=\"{ width: entry.pct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"entry.pct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n <span v-if=\"entry.pct <= 20\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float) }}\n </span>\n </div>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./transactions/withdrawal\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_withdrawals') }}</a>\n </div>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nexport default {\n name: \"MainDebitList\",\n data() {\n return {\n locale: 'en-US',\n expenses: [],\n min: 0,\n loading: true,\n error: false\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n computed: {\n ...mapGetters([\n 'start',\n 'end'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getExpenses();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getExpenses();\n }\n },\n },\n methods: {\n getExpenses() {\n this.loading = true;\n this.error = false;\n this.expenses = [];\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/insight/expense/expense?start=' + startStr + '&end=' + endStr)\n .then(response => {\n // do something with response.\n this.parseExpenses(response.data);\n this.loading = false\n }).catch(error => {\n this.error = true\n });\n },\n parseExpenses(data) {\n for (let mainKey in data) {\n if (data.hasOwnProperty(mainKey) && /^0$|^[1-9]\\d*$/.test(mainKey) && mainKey <= 4294967294) {\n let current = data[mainKey];\n current.pct = 0;\n\n this.min = current.difference_float < this.min ? current.difference_float : this.min;\n this.expenses.push(current);\n }\n }\n\n if (0 === this.min) {\n this.min = -1;\n }\n // now sort + pct:\n for (let i in this.expenses) {\n if (this.expenses.hasOwnProperty(i)) {\n let current = this.expenses[i];\n current.pct = (current.difference_float*-1 / this.min*-1) * 100;\n this.expenses[i] = current;\n }\n }\n this.expenses.sort((a,b) => (a.pct > b.pct) ? -1 : ((b.pct > a.pct) ? 1 : 0));\n\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainDebitList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainDebitList.vue?vue&type=template&id=9816a3c2&\"\nimport script from \"./MainDebitList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainDebitList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.expense_accounts')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.expenses),function(entry){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./accounts/show/' + entry.id}},[_vm._v(_vm._s(entry.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(entry.pct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: entry.pct + '%'}),attrs:{\"aria-valuenow\":entry.pct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(entry.pct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(entry.pct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: entry.currency_code}).format(entry.difference_float))+\"\\n \")]):_vm._e()]):_vm._e()])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./transactions/withdrawal\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_withdrawals')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - MainPiggyList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.piggy_banks') }}</h3>\n </div>\n\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-striped\">\n <caption style=\"display:none;\">{{ $t('firefly.piggy_banks') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\" style=\"width:35%;\">{{ $t('list.piggy_bank') }}</th>\n <th scope=\"col\" style=\"width:40%;\">{{ $t('list.percentage') }} <small>/ {{ $t('list.amount') }}</small></th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"piggy in this.piggy_banks\">\n <td>\n <a :href=\"'./piggy-banks/show/' + piggy.id\" :title=\"piggy.attributes.name\">{{ piggy.attributes.name }}</a>\n <small v-if=\"piggy.attributes.object_group_title\" class=\"text-muted\">\n <br/>\n {{ piggy.attributes.object_group_title }}\n </small>\n </td>\n <td>\n <div class=\"progress-group\">\n <div class=\"progress progress-sm\">\n <div v-if=\"piggy.attributes.pct < 100\" :style=\"{'width': piggy.attributes.pct + '%'}\" class=\"progress-bar progress-bar-striped primary\"></div>\n <div v-if=\"100 === piggy.attributes.pct\" :style=\"{'width': piggy.attributes.pct + '%'}\"\n class=\"progress-bar progress-bar-striped bg-success\"></div>\n </div>\n </div>\n <span class=\"text-success\">\n {{\n Intl.NumberFormat(locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount)\n }}\n </span>\n of\n <span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)\n }}</span>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n <div class=\"card-footer\">\n <a class=\"btn btn-default button-sm\" href=\"./piggy-banks\"><i class=\"far fa-money-bill-alt\"></i> {{ $t('firefly.go_to_piggies') }}</a>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"MainPiggyList\",\n data() {\n return {\n piggy_banks: [],\n loading: true,\n error: false,\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n axios.get('./api/v1/piggy_banks')\n .then(response => {\n this.loadPiggyBanks(response.data.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true\n });\n },\n methods: {\n loadPiggyBanks(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let piggy = data[key];\n if (0.0 !== parseFloat(piggy.attributes.left_to_save)) {\n piggy.attributes.pct = (parseFloat(piggy.attributes.current_amount) / parseFloat(piggy.attributes.target_amount)) * 100;\n this.piggy_banks.push(piggy);\n }\n }\n }\n this.piggy_banks.sort(function (a, b) {\n return b.attributes.pct - a.attributes.pct;\n });\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainPiggyList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainPiggyList.vue?vue&type=template&id=c17c9a5a&scoped=true&\"\nimport script from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainPiggyList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"c17c9a5a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-striped\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.piggy_banks')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"35%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.piggy_bank')))]),_vm._v(\" \"),_c('th',{staticStyle:{\"width\":\"40%\"},attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('list.percentage'))+\" \"),_c('small',[_vm._v(\"/ \"+_vm._s(_vm.$t('list.amount')))])])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.piggy_banks),function(piggy){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'./piggy-banks/show/' + piggy.id,\"title\":piggy.attributes.name}},[_vm._v(_vm._s(piggy.attributes.name))]),_vm._v(\" \"),(piggy.attributes.object_group_title)?_c('small',{staticClass:\"text-muted\"},[_c('br'),_vm._v(\"\\n \"+_vm._s(piggy.attributes.object_group_title)+\"\\n \")]):_vm._e()]),_vm._v(\" \"),_c('td',[_c('div',{staticClass:\"progress-group\"},[_c('div',{staticClass:\"progress progress-sm\"},[(piggy.attributes.pct < 100)?_c('div',{staticClass:\"progress-bar progress-bar-striped primary\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e(),_vm._v(\" \"),(100 === piggy.attributes.pct)?_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({'width': piggy.attributes.pct + '%'})}):_vm._e()])]),_vm._v(\" \"),_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount))+\"\\n \")]),_vm._v(\"\\n of\\n \"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: piggy.attributes.currency_code\n }).format(piggy.attributes.target_amount)))])])])}),0)])]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"card-footer\"},[_c('a',{staticClass:\"btn btn-default button-sm\",attrs:{\"href\":\"./piggy-banks\"}},[_c('i',{staticClass:\"far fa-money-bill-alt\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.go_to_piggies')))])])])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionListLarge.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.budget') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.category_id\" :href=\"'categories/show/' + tr.category_id\">{{ tr.category_name }}</a><br/>\n </span>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"0!==tr.budget_id\" :href=\"'budgets/show/' + tr.budget_id\">{{ tr.budget_name }}</a><br/>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListLarge\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListLarge.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListLarge.vue?vue&type=template&id=6e420753&scoped=true&\"\nimport script from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListLarge.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"6e420753\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.budget')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.category_id)?_c('a',{attrs:{\"href\":'categories/show/' + tr.category_id}},[_vm._v(_vm._s(tr.category_name))]):_vm._e(),_c('br')])}),0),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[(0!==tr.budget_id)?_c('a',{attrs:{\"href\":'budgets/show/' + tr.budget_id}},[_vm._v(_vm._s(tr.budget_name))]):_vm._e(),_c('br')])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListMedium.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th scope=\"col\">{{ $t('firefly.opposing_account') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \" :title=\"transaction.date\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td>\n <span v-for=\"tr in transaction.attributes.transactions\">\n <a v-if=\"'withdrawal' === tr.type\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'deposit' === tr.type\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" :href=\"'accounts/show/' + tr.destination_id\">{{ tr.destination_name }}</a>\n <a v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" :href=\"'accounts/show/' + tr.source_id\">{{ tr.source_name }}</a>\n <br/>\n </span>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListMedium\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListMedium.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListMedium.vue?vue&type=template&id=0d4f7042&scoped=true&\"\nimport script from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListMedium.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"0d4f7042\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.opposing_account')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":transaction.date}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.destination_id}},[_vm._v(_vm._s(tr.destination_name))]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('a',{attrs:{\"href\":'accounts/show/' + tr.source_id}},[_vm._v(_vm._s(tr.source_name))]):_vm._e(),_vm._v(\" \"),_c('br')])}),0),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionListSmall.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <table class=\"table table-striped table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.transaction_table_description') }}</caption>\n <thead>\n <tr>\n <th class=\"text-left\" scope=\"col\">{{ $t('firefly.description') }}</th>\n <th class=\"text-right\" scope=\"col\">{{ $t('firefly.amount') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"transaction in this.transactions\">\n <td>\n <a :href=\"'transactions/show/' + transaction.id \"\n :title=\"new Intl.DateTimeFormat(locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))\">\n <span v-if=\"transaction.attributes.transactions.length > 1\">{{ transaction.attributes.group_title }}</span>\n <span v-if=\"1===transaction.attributes.transactions.length\">{{ transaction.attributes.transactions[0].description }}</span>\n </a>\n </td>\n <td style=\"text-align:right;\">\n <span v-for=\"tr in transaction.attributes.transactions\">\n <span v-if=\"'withdrawal' === tr.type\" class=\"text-danger\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'deposit' === tr.type\" class=\"text-success\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.source_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1) }}<br>\n </span>\n <span v-if=\"'transfer' === tr.type && parseInt(tr.destination_id) === account_id\" class=\"text-info\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount) }}<br>\n </span>\n </span>\n </td>\n </tr>\n </tbody>\n </table>\n</template>\n\n<script>\nexport default {\n name: \"TransactionListSmall\",\n data() {\n return {\n locale: 'en-US'\n }\n },\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n },\n methods: {},\n props: {\n transactions: {\n type: Array,\n default: function () {\n return [];\n }\n },\n account_id: {\n type: Number,\n default: function () {\n return 0;\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionListSmall.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionListSmall.vue?vue&type=template&id=4cd7a656&scoped=true&\"\nimport script from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionListSmall.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4cd7a656\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('table',{staticClass:\"table table-striped table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction_table_description')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticClass:\"text-left\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.description')))]),_vm._v(\" \"),_c('th',{staticClass:\"text-right\",attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.amount')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((this.transactions),function(transaction){return _c('tr',[_c('td',[_c('a',{attrs:{\"href\":'transactions/show/' + transaction.id,\"title\":new Intl.DateTimeFormat(_vm.locale, { year: 'numeric', month: 'long', day: 'numeric' }).format(new Date(transaction.attributes.transactions[0].date))}},[(transaction.attributes.transactions.length > 1)?_c('span',[_vm._v(_vm._s(transaction.attributes.group_title))]):_vm._e(),_vm._v(\" \"),(1===transaction.attributes.transactions.length)?_c('span',[_vm._v(_vm._s(transaction.attributes.transactions[0].description))]):_vm._e()])]),_vm._v(\" \"),_c('td',{staticStyle:{\"text-align\":\"right\"}},_vm._l((transaction.attributes.transactions),function(tr){return _c('span',[('withdrawal' === tr.type)?_c('span',{staticClass:\"text-danger\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('deposit' === tr.type)?_c('span',{staticClass:\"text-success\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.source_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount * -1))),_c('br')]):_vm._e(),_vm._v(\" \"),('transfer' === tr.type && parseInt(tr.destination_id) === _vm.account_id)?_c('span',{staticClass:\"text-info\"},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: tr.currency_code}).format(tr.amount))),_c('br')]):_vm._e()])}),0)])}),0)])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - MainCategoryList.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">{{ $t('firefly.categories') }}</h3>\n </div>\n <!-- body if loading -->\n <div v-if=\"loading && !error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-spinner fa-spin\"></i>\n </div>\n </div>\n <!-- body if error -->\n <div v-if=\"error\" class=\"card-body\">\n <div class=\"text-center\">\n <i class=\"fas fa-exclamation-triangle text-danger\"></i>\n </div>\n </div>\n <!-- body if normal -->\n <div v-if=\"!loading && !error\" class=\"card-body table-responsive p-0\">\n <table class=\"table table-sm\">\n <caption style=\"display:none;\">{{ $t('firefly.categories') }}</caption>\n <thead>\n <tr>\n <th scope=\"col\">{{ $t('firefly.category') }}</th>\n <th scope=\"col\">{{ $t('firefly.spent') }}</th>\n </tr>\n </thead>\n <tbody>\n <tr v-for=\"category in sortedList\">\n <td style=\"width:20%;\">\n <a :href=\"'./categories/show/' + category.id\">{{ category.name }}</a>\n </td>\n <td class=\"align-middle\">\n <!-- SPENT -->\n <div v-if=\"category.spentPct > 0\" class=\"progress\">\n <div :aria-valuenow=\"category.spentPct\" :style=\"{ width: category.spentPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-danger\"\n role=\"progressbar\">\n <span v-if=\"category.spentPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n </div>\n <span v-if=\"category.spentPct <= 20\" class=\"progress-label\" style=\"line-height: 16px;\">&nbsp;\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}\n </span>\n\n </div>\n\n <!-- EARNED -->\n <div v-if=\"category.earnedPct > 0\" class=\"progress justify-content-end\" title=\"hello2\">\n <span v-if=\"category.earnedPct <= 20\" style=\"line-height: 16px;\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n &nbsp;</span>\n <div :aria-valuenow=\"category.earnedPct\" :style=\"{ width: category.earnedPct + '%'}\" aria-valuemax=\"100\"\n aria-valuemin=\"0\" class=\"progress-bar progress-bar-striped bg-success\"\n role=\"progressbar\" title=\"hello\">\n <span v-if=\"category.earnedPct > 20\">\n {{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}\n </span>\n </div>\n </div>\n\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from \"vuex\";\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\nexport default {\n name: \"MainCategoryList\",\n\n created() {\n this.locale = localStorage.locale ?? 'en-US';\n this.ready = true;\n },\n data() {\n return {\n locale: 'en-US',\n categories: [],\n sortedList: [],\n spent: 0,\n earned: 0,\n loading: true,\n error: false\n }\n },\n computed: {\n ...mapGetters(['start', 'end']),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n }\n },\n watch: {\n datesReady: function (value) {\n if (true === value) {\n this.getCategories();\n }\n },\n start: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n end: function () {\n if (false === this.loading) {\n this.getCategories();\n }\n },\n },\n methods:\n {\n getCategories() {\n this.categories = [];\n this.sortedList = [];\n this.spent = 0;\n this.earned = 0;\n this.loading = true;\n let startStr = this.start.toISOString().split('T')[0];\n let endStr = this.end.toISOString().split('T')[0];\n axios.get('./api/v1/categories?start=' + startStr + '&end=' + endStr)\n .then(response => {\n this.parseCategories(response.data);\n this.loading = false;\n }\n ).catch(error => {\n this.error = true;\n });\n },\n parseCategories(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 entryKey = null;\n let categoryId = parseInt(current.id);\n\n // loop spent info:\n for (let ii in current.attributes.spent) {\n if (current.attributes.spent.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let spentData = current.attributes.spent[ii];\n entryKey = spentData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: spentData.currency_code,\n currency_symbol: spentData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].spent = parseFloat(spentData.sum);\n this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;\n }\n }\n\n // loop earned info\n for (let ii in current.attributes.earned) {\n if (current.attributes.earned.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let earnedData = current.attributes.earned[ii];\n entryKey = earnedData.currency_id + '-' + current.id;\n\n // does the categories list thing have this combo? if not, create it.\n this.categories[entryKey] = this.categories[entryKey] ??\n {\n id: categoryId,\n name: current.attributes.name,\n currency_code: earnedData.currency_code,\n currency_symbol: earnedData.currency_symbol,\n spent: 0,\n earned: 0,\n spentPct: 0,\n earnedPct: 0,\n };\n this.categories[entryKey].earned = parseFloat(earnedData.sum);\n this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;\n }\n }\n }\n }\n this.sortCategories();\n },\n sortCategories() {\n // no longer care about keys:\n let array = [];\n for (let i in this.categories) {\n if (this.categories.hasOwnProperty(i)) {\n array.push(this.categories[i]);\n }\n }\n array.sort(function (one, two) {\n return (one.spent + one.earned) - (two.spent + two.earned);\n });\n for (let i in array) {\n if (array.hasOwnProperty(i)) {\n let current = array[i];\n current.spentPct = (current.spent / this.spent) * 100;\n current.earnedPct = (current.earned / this.earned) * 100;\n this.sortedList.push(current);\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./MainCategoryList.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./MainCategoryList.vue?vue&type=template&id=7ea958c9&scoped=true&\"\nimport script from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\nexport * from \"./MainCategoryList.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7ea958c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(_vm._s(_vm.$t('firefly.categories')))])]),_vm._v(\" \"),(_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(0)]):_vm._e(),_vm._v(\" \"),(_vm.error)?_c('div',{staticClass:\"card-body\"},[_vm._m(1)]):_vm._e(),_vm._v(\" \"),(!_vm.loading && !_vm.error)?_c('div',{staticClass:\"card-body table-responsive p-0\"},[_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.categories')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.category')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.spent')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.sortedList),function(category){return _c('tr',[_c('td',{staticStyle:{\"width\":\"20%\"}},[_c('a',{attrs:{\"href\":'./categories/show/' + category.id}},[_vm._v(_vm._s(category.name))])]),_vm._v(\" \"),_c('td',{staticClass:\"align-middle\"},[(category.spentPct > 0)?_c('div',{staticClass:\"progress\"},[_c('div',{staticClass:\"progress-bar progress-bar-striped bg-danger\",style:({ width: category.spentPct + '%'}),attrs:{\"aria-valuenow\":category.spentPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\"}},[(category.spentPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]),_vm._v(\" \"),(category.spentPct <= 20)?_c('span',{staticClass:\"progress-label\",staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\" \\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.spent))+\"\\n \")]):_vm._e()]):_vm._e(),_vm._v(\" \"),(category.earnedPct > 0)?_c('div',{staticClass:\"progress justify-content-end\",attrs:{\"title\":\"hello2\"}},[(category.earnedPct <= 20)?_c('span',{staticStyle:{\"line-height\":\"16px\"}},[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n  \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"progress-bar progress-bar-striped bg-success\",style:({ width: category.earnedPct + '%'}),attrs:{\"aria-valuenow\":category.earnedPct,\"aria-valuemax\":\"100\",\"aria-valuemin\":\"0\",\"role\":\"progressbar\",\"title\":\"hello\"}},[(category.earnedPct > 20)?_c('span',[_vm._v(\"\\n \"+_vm._s(Intl.NumberFormat(_vm.locale, {style: 'currency', currency: category.currency_code}).format(category.earned))+\"\\n \")]):_vm._e()])]):_vm._e()])])}),0)])]):_vm._e()])}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"fas fa-exclamation-triangle text-danger\"})])}]\n\nexport { render, staticRenderFns }","/*\n * dashboard.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n\nimport Dashboard from '../components/dashboard/Dashboard';\nimport TopBoxes from '../components/dashboard/TopBoxes';\nimport MainAccount from '../components/dashboard/MainAccount';\nimport MainAccountList from '../components/dashboard/MainAccountList';\nimport MainBillsList from '../components/dashboard/MainBillsList';\nimport MainBudgetList from '../components/dashboard/MainBudgetList';\nimport MainCreditList from '../components/dashboard/MainCreditList';\nimport MainDebitList from '../components/dashboard/MainDebitList';\nimport MainPiggyList from '../components/dashboard/MainPiggyList';\nimport TransactionListLarge from '../components/transactions/TransactionListLarge';\nimport TransactionListMedium from '../components/transactions/TransactionListMedium';\nimport TransactionListSmall from '../components/transactions/TransactionListSmall';\nimport Calendar from '../components/dashboard/Calendar';\nimport MainCategoryList from '../components/dashboard/MainCategoryList';\nimport Vue from 'vue';\nimport Vuex from 'vuex'\nimport store from '../components/store';\n\n/**\n * First we will load Axios via bootstrap.js\n * jquery and bootstrap-sass preloaded in app.js\n * vue, uiv and vuei18n are in app_vue.js\n */\n\nrequire('../bootstrap');\nrequire('chart.js');\n\nVue.component('transaction-list-large', TransactionListLarge);\nVue.component('transaction-list-medium', TransactionListMedium);\nVue.component('transaction-list-small', TransactionListSmall);\n\n// components as an example\n\nVue.component('dashboard', Dashboard);\nVue.component('top-boxes', TopBoxes);\nVue.component('main-account', MainAccount);\nVue.component('main-account-list', MainAccountList);\nVue.component('main-bills-list', MainBillsList);\nVue.component('main-budget-list', MainBudgetList);\nVue.component('main-category-list', MainCategoryList);\nVue.component('main-debit-list', MainDebitList);\nVue.component('main-credit-list', MainCreditList);\nVue.component('main-piggy-list', MainPiggyList);\n\nVue.use(Vuex);\n\nlet i18n = require('../i18n');\nlet props = {};\n\nnew Vue({\n i18n,\n store,\n el: '#dashboard',\n render: (createElement) => {\n return createElement(Dashboard, {props: props});\n },\n beforeCreate() {\n // TODO migrate to \"root\" store.\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n this.$store.dispatch('root/initialiseStore');\n this.$store.dispatch('dashboard/index/initialiseStore');\n },\n });\nnew Vue({\n i18n,\n store,\n el: \"#calendar\",\n render: (createElement) => {\n return createElement(Calendar, {props: props});\n },\n // TODO init store as well?\n });","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".dropdown-item[data-v-12891edc],.dropdown-item[data-v-12891edc]:hover{color:#212529}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/dashboard/Calendar.vue\"],\"names\":[],\"mappings\":\"AA0OA,sEACA,aACA\",\"sourcesContent\":[\"<!--\\n - Calendar.vue\\n - Copyright (c) 2020 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">Start</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\\n </div>\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">End</div>\\n <div class=\\\"col-8\\\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\\n </div>\\n <date-picker\\n v-model=\\\"range\\\"\\n :rows=\\\"2\\\"\\n is-range\\n mode=\\\"date\\\"\\n >\\n <template v-slot=\\\"{ inputValue, inputEvents, isDragging, togglePopover }\\\">\\n <div class=\\\"row\\\">\\n <div class=\\\"col\\\">\\n <div class=\\\"btn-group btn-group-sm d-flex\\\">\\n <button\\n :title=\\\"$t('firefly.custom_period')\\\" class=\\\"btn btn-secondary btn-sm\\\"\\n @click=\\\"togglePopover({ placement: 'auto-start', positionFixed: true })\\\"\\n ><i class=\\\"fas fa-calendar-alt\\\"></i></button>\\n <button :title=\\\"$t('firefly.reset_to_current')\\\"\\n class=\\\"btn btn-secondary\\\"\\n @click=\\\"resetDate\\\"\\n ><i class=\\\"fas fa-history\\\"></i></button>\\n <button id=\\\"dropdownMenuButton\\\" :title=\\\"$t('firefly.select_period')\\\" aria-expanded=\\\"false\\\" aria-haspopup=\\\"true\\\" class=\\\"btn btn-secondary dropdown-toggle\\\"\\n data-toggle=\\\"dropdown\\\"\\n type=\\\"button\\\">\\n <i class=\\\"fas fa-list\\\"></i>\\n </button>\\n <div aria-labelledby=\\\"dropdownMenuButton\\\" class=\\\"dropdown-menu\\\">\\n <a v-for=\\\"period in periods\\\" class=\\\"dropdown-item\\\" href=\\\"#\\\" @click=\\\"customDate(period.start, period.end)\\\">{{ period.title }}</a>\\n </div>\\n\\n </div>\\n <input v-on=\\\"inputEvents.start\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.start\\\"\\n type=\\\"hidden\\\"\\n />\\n <input v-on=\\\"inputEvents.end\\\"\\n :class=\\\"isDragging ? 'text-gray-600' : 'text-gray-900'\\\"\\n :value=\\\"inputValue.end\\\"\\n type=\\\"hidden\\\"\\n />\\n </div>\\n </div>\\n </template>\\n </date-picker>\\n </div>\\n</template>\\n\\n<script>\\n\\nimport {createNamespacedHelpers} from \\\"vuex\\\";\\nimport Vue from \\\"vue\\\";\\nimport DatePicker from \\\"v-calendar/lib/components/date-picker.umd\\\";\\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\\n\\n\\nVue.component('date-picker', DatePicker)\\n\\nexport default {\\n name: \\\"Calendar\\\",\\n created() {\\n this.ready = true;\\n this.locale = localStorage.locale ?? 'en-US';\\n },\\n data() {\\n return {\\n locale: 'en-US',\\n ready: false,\\n range: {\\n start: null,\\n end: null,\\n },\\n defaultRange: {\\n start: null,\\n end: null,\\n },\\n periods: []\\n };\\n },\\n methods: {\\n ...mapMutations(\\n [\\n 'setEnd',\\n 'setStart',\\n ],\\n ),\\n resetDate: function () {\\n //console.log('Reset date to');\\n //console.log(this.defaultStart);\\n //console.log(this.defaultEnd);\\n this.range.start = this.defaultStart;\\n this.range.end = this.defaultEnd;\\n this.setStart(this.defaultStart);\\n this.setEnd(this.defaultEnd);\\n },\\n customDate: function (startStr, endStr) {\\n let start = new Date(startStr);\\n let end = new Date(endStr);\\n this.setStart(start);\\n this.setEnd(end);\\n this.range.start = start;\\n this.range.end = end;\\n this.generatePeriods()\\n return false;\\n },\\n generatePeriods: function () {\\n this.periods = [];\\n // create periods.\\n let today;\\n let end;\\n\\n today = new Date(this.range.start);\\n\\n // previous month\\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // this month\\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // next month\\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\\n this.periods.push(\\n {\\n start: firstDayOfMonth.toDateString(),\\n end: lastDayOfMonth.toDateString(),\\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\\n }\\n );\\n\\n // last 7 days\\n today = new Date;\\n end = new Date;\\n end.setDate(end.getDate() - 7);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_seven_days')\\n }\\n );\\n\\n // last 30 days:\\n end.setDate(end.getDate() - 23);\\n this.periods.push(\\n {\\n start: end.toDateString(),\\n end: today.toDateString(),\\n title: this.$t('firefly.last_thirty_days')\\n }\\n );\\n // last 30 days\\n // everything\\n }\\n },\\n computed: {\\n ...mapGetters([\\n 'viewRange',\\n 'start',\\n 'end',\\n 'defaultStart',\\n 'defaultEnd'\\n ]),\\n 'datesReady': function () {\\n return null !== this.start && null !== this.end && this.ready;\\n },\\n },\\n watch: {\\n datesReady: function (value) {\\n if (false === value) {\\n return;\\n }\\n this.range.start = new Date(this.start);\\n this.range.end = new Date(this.end);\\n this.generatePeriods();\\n\\n },\\n range: function (value) {\\n //console.log('User updated range');\\n this.setStart(value.start);\\n this.setEnd(value.end);\\n }\\n }\\n}\\n</script>\\n\\n<style scoped>\\n.dropdown-item {\\n color: #212529;\\n}\\n\\n.dropdown-item:hover {\\n color: #212529;\\n}\\n</style>\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","var map = {\n\t\"./af\": 2786,\n\t\"./af.js\": 2786,\n\t\"./ar\": 867,\n\t\"./ar-dz\": 4130,\n\t\"./ar-dz.js\": 4130,\n\t\"./ar-kw\": 6135,\n\t\"./ar-kw.js\": 6135,\n\t\"./ar-ly\": 6440,\n\t\"./ar-ly.js\": 6440,\n\t\"./ar-ma\": 7702,\n\t\"./ar-ma.js\": 7702,\n\t\"./ar-sa\": 6040,\n\t\"./ar-sa.js\": 6040,\n\t\"./ar-tn\": 7100,\n\t\"./ar-tn.js\": 7100,\n\t\"./ar.js\": 867,\n\t\"./az\": 1083,\n\t\"./az.js\": 1083,\n\t\"./be\": 9808,\n\t\"./be.js\": 9808,\n\t\"./bg\": 8338,\n\t\"./bg.js\": 8338,\n\t\"./bm\": 7438,\n\t\"./bm.js\": 7438,\n\t\"./bn\": 8905,\n\t\"./bn-bd\": 6225,\n\t\"./bn-bd.js\": 6225,\n\t\"./bn.js\": 8905,\n\t\"./bo\": 1560,\n\t\"./bo.js\": 1560,\n\t\"./br\": 1278,\n\t\"./br.js\": 1278,\n\t\"./bs\": 622,\n\t\"./bs.js\": 622,\n\t\"./ca\": 2468,\n\t\"./ca.js\": 2468,\n\t\"./cs\": 5822,\n\t\"./cs.js\": 5822,\n\t\"./cv\": 877,\n\t\"./cv.js\": 877,\n\t\"./cy\": 7373,\n\t\"./cy.js\": 7373,\n\t\"./da\": 4780,\n\t\"./da.js\": 4780,\n\t\"./de\": 9740,\n\t\"./de-at\": 217,\n\t\"./de-at.js\": 217,\n\t\"./de-ch\": 894,\n\t\"./de-ch.js\": 894,\n\t\"./de.js\": 9740,\n\t\"./dv\": 5300,\n\t\"./dv.js\": 5300,\n\t\"./el\": 837,\n\t\"./el.js\": 837,\n\t\"./en-au\": 8348,\n\t\"./en-au.js\": 8348,\n\t\"./en-ca\": 7925,\n\t\"./en-ca.js\": 7925,\n\t\"./en-gb\": 2243,\n\t\"./en-gb.js\": 2243,\n\t\"./en-ie\": 6436,\n\t\"./en-ie.js\": 6436,\n\t\"./en-il\": 7207,\n\t\"./en-il.js\": 7207,\n\t\"./en-in\": 4175,\n\t\"./en-in.js\": 4175,\n\t\"./en-nz\": 6319,\n\t\"./en-nz.js\": 6319,\n\t\"./en-sg\": 1662,\n\t\"./en-sg.js\": 1662,\n\t\"./eo\": 2915,\n\t\"./eo.js\": 2915,\n\t\"./es\": 5655,\n\t\"./es-do\": 5251,\n\t\"./es-do.js\": 5251,\n\t\"./es-mx\": 6112,\n\t\"./es-mx.js\": 6112,\n\t\"./es-us\": 1146,\n\t\"./es-us.js\": 1146,\n\t\"./es.js\": 5655,\n\t\"./et\": 5603,\n\t\"./et.js\": 5603,\n\t\"./eu\": 7763,\n\t\"./eu.js\": 7763,\n\t\"./fa\": 6959,\n\t\"./fa.js\": 6959,\n\t\"./fi\": 1897,\n\t\"./fi.js\": 1897,\n\t\"./fil\": 2549,\n\t\"./fil.js\": 2549,\n\t\"./fo\": 4694,\n\t\"./fo.js\": 4694,\n\t\"./fr\": 4470,\n\t\"./fr-ca\": 3049,\n\t\"./fr-ca.js\": 3049,\n\t\"./fr-ch\": 2330,\n\t\"./fr-ch.js\": 2330,\n\t\"./fr.js\": 4470,\n\t\"./fy\": 5044,\n\t\"./fy.js\": 5044,\n\t\"./ga\": 9295,\n\t\"./ga.js\": 9295,\n\t\"./gd\": 2101,\n\t\"./gd.js\": 2101,\n\t\"./gl\": 8794,\n\t\"./gl.js\": 8794,\n\t\"./gom-deva\": 7884,\n\t\"./gom-deva.js\": 7884,\n\t\"./gom-latn\": 3168,\n\t\"./gom-latn.js\": 3168,\n\t\"./gu\": 5349,\n\t\"./gu.js\": 5349,\n\t\"./he\": 4206,\n\t\"./he.js\": 4206,\n\t\"./hi\": 94,\n\t\"./hi.js\": 94,\n\t\"./hr\": 316,\n\t\"./hr.js\": 316,\n\t\"./hu\": 2138,\n\t\"./hu.js\": 2138,\n\t\"./hy-am\": 1423,\n\t\"./hy-am.js\": 1423,\n\t\"./id\": 9218,\n\t\"./id.js\": 9218,\n\t\"./is\": 135,\n\t\"./is.js\": 135,\n\t\"./it\": 626,\n\t\"./it-ch\": 150,\n\t\"./it-ch.js\": 150,\n\t\"./it.js\": 626,\n\t\"./ja\": 9183,\n\t\"./ja.js\": 9183,\n\t\"./jv\": 4286,\n\t\"./jv.js\": 4286,\n\t\"./ka\": 2105,\n\t\"./ka.js\": 2105,\n\t\"./kk\": 7772,\n\t\"./kk.js\": 7772,\n\t\"./km\": 8758,\n\t\"./km.js\": 8758,\n\t\"./kn\": 9282,\n\t\"./kn.js\": 9282,\n\t\"./ko\": 3730,\n\t\"./ko.js\": 3730,\n\t\"./ku\": 1408,\n\t\"./ku.js\": 1408,\n\t\"./ky\": 3291,\n\t\"./ky.js\": 3291,\n\t\"./lb\": 6841,\n\t\"./lb.js\": 6841,\n\t\"./lo\": 5466,\n\t\"./lo.js\": 5466,\n\t\"./lt\": 7010,\n\t\"./lt.js\": 7010,\n\t\"./lv\": 7595,\n\t\"./lv.js\": 7595,\n\t\"./me\": 9861,\n\t\"./me.js\": 9861,\n\t\"./mi\": 5493,\n\t\"./mi.js\": 5493,\n\t\"./mk\": 5966,\n\t\"./mk.js\": 5966,\n\t\"./ml\": 7341,\n\t\"./ml.js\": 7341,\n\t\"./mn\": 5115,\n\t\"./mn.js\": 5115,\n\t\"./mr\": 370,\n\t\"./mr.js\": 370,\n\t\"./ms\": 9847,\n\t\"./ms-my\": 1237,\n\t\"./ms-my.js\": 1237,\n\t\"./ms.js\": 9847,\n\t\"./mt\": 2126,\n\t\"./mt.js\": 2126,\n\t\"./my\": 6165,\n\t\"./my.js\": 6165,\n\t\"./nb\": 4924,\n\t\"./nb.js\": 4924,\n\t\"./ne\": 6744,\n\t\"./ne.js\": 6744,\n\t\"./nl\": 3901,\n\t\"./nl-be\": 9814,\n\t\"./nl-be.js\": 9814,\n\t\"./nl.js\": 3901,\n\t\"./nn\": 3877,\n\t\"./nn.js\": 3877,\n\t\"./oc-lnc\": 2135,\n\t\"./oc-lnc.js\": 2135,\n\t\"./pa-in\": 5858,\n\t\"./pa-in.js\": 5858,\n\t\"./pl\": 4495,\n\t\"./pl.js\": 4495,\n\t\"./pt\": 9520,\n\t\"./pt-br\": 7971,\n\t\"./pt-br.js\": 7971,\n\t\"./pt.js\": 9520,\n\t\"./ro\": 6459,\n\t\"./ro.js\": 6459,\n\t\"./ru\": 1793,\n\t\"./ru.js\": 1793,\n\t\"./sd\": 950,\n\t\"./sd.js\": 950,\n\t\"./se\": 490,\n\t\"./se.js\": 490,\n\t\"./si\": 124,\n\t\"./si.js\": 124,\n\t\"./sk\": 4249,\n\t\"./sk.js\": 4249,\n\t\"./sl\": 4985,\n\t\"./sl.js\": 4985,\n\t\"./sq\": 1104,\n\t\"./sq.js\": 1104,\n\t\"./sr\": 9131,\n\t\"./sr-cyrl\": 9915,\n\t\"./sr-cyrl.js\": 9915,\n\t\"./sr.js\": 9131,\n\t\"./ss\": 5893,\n\t\"./ss.js\": 5893,\n\t\"./sv\": 8760,\n\t\"./sv.js\": 8760,\n\t\"./sw\": 1172,\n\t\"./sw.js\": 1172,\n\t\"./ta\": 7333,\n\t\"./ta.js\": 7333,\n\t\"./te\": 3110,\n\t\"./te.js\": 3110,\n\t\"./tet\": 2095,\n\t\"./tet.js\": 2095,\n\t\"./tg\": 7321,\n\t\"./tg.js\": 7321,\n\t\"./th\": 9041,\n\t\"./th.js\": 9041,\n\t\"./tk\": 9005,\n\t\"./tk.js\": 9005,\n\t\"./tl-ph\": 5768,\n\t\"./tl-ph.js\": 5768,\n\t\"./tlh\": 9444,\n\t\"./tlh.js\": 9444,\n\t\"./tr\": 2397,\n\t\"./tr.js\": 2397,\n\t\"./tzl\": 8254,\n\t\"./tzl.js\": 8254,\n\t\"./tzm\": 1106,\n\t\"./tzm-latn\": 699,\n\t\"./tzm-latn.js\": 699,\n\t\"./tzm.js\": 1106,\n\t\"./ug-cn\": 9288,\n\t\"./ug-cn.js\": 9288,\n\t\"./uk\": 7691,\n\t\"./uk.js\": 7691,\n\t\"./ur\": 3795,\n\t\"./ur.js\": 3795,\n\t\"./uz\": 6791,\n\t\"./uz-latn\": 588,\n\t\"./uz-latn.js\": 588,\n\t\"./uz.js\": 6791,\n\t\"./vi\": 5666,\n\t\"./vi.js\": 5666,\n\t\"./x-pseudo\": 4378,\n\t\"./x-pseudo.js\": 4378,\n\t\"./yo\": 5805,\n\t\"./yo.js\": 5805,\n\t\"./zh-cn\": 3839,\n\t\"./zh-cn.js\": 3839,\n\t\"./zh-hk\": 5726,\n\t\"./zh-hk.js\": 5726,\n\t\"./zh-mo\": 9807,\n\t\"./zh-mo.js\": 9807,\n\t\"./zh-tw\": 4152,\n\t\"./zh-tw.js\": 4152\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 6700;","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"Start\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.start)))])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"End\")]),_vm._v(\" \"),_c('div',{staticClass:\"col-8\"},[_vm._v(_vm._s(new Intl.DateTimeFormat(_vm.locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(_vm.range.end)))])]),_vm._v(\" \"),_c('date-picker',{attrs:{\"rows\":2,\"is-range\":\"\",\"mode\":\"date\"},scopedSlots:_vm._u([{key:\"default\",fn:function(ref){\nvar inputValue = ref.inputValue;\nvar inputEvents = ref.inputEvents;\nvar isDragging = ref.isDragging;\nvar togglePopover = ref.togglePopover;\nreturn [_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"btn-group btn-group-sm d-flex\"},[_c('button',{staticClass:\"btn btn-secondary btn-sm\",attrs:{\"title\":_vm.$t('firefly.custom_period')},on:{\"click\":function($event){return togglePopover({ placement: 'auto-start', positionFixed: true })}}},[_c('i',{staticClass:\"fas fa-calendar-alt\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"title\":_vm.$t('firefly.reset_to_current')},on:{\"click\":_vm.resetDate}},[_c('i',{staticClass:\"fas fa-history\"})]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-secondary dropdown-toggle\",attrs:{\"id\":\"dropdownMenuButton\",\"title\":_vm.$t('firefly.select_period'),\"aria-expanded\":\"false\",\"aria-haspopup\":\"true\",\"data-toggle\":\"dropdown\",\"type\":\"button\"}},[_c('i',{staticClass:\"fas fa-list\"})]),_vm._v(\" \"),_c('div',{staticClass:\"dropdown-menu\",attrs:{\"aria-labelledby\":\"dropdownMenuButton\"}},_vm._l((_vm.periods),function(period){return _c('a',{staticClass:\"dropdown-item\",attrs:{\"href\":\"#\"},on:{\"click\":function($event){return _vm.customDate(period.start, period.end)}}},[_vm._v(_vm._s(period.title))])}),0)]),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.start}},inputEvents.start)),_vm._v(\" \"),_c('input',_vm._g({class:isDragging ? 'text-gray-600' : 'text-gray-900',attrs:{\"type\":\"hidden\"},domProps:{\"value\":inputValue.end}},inputEvents.end))])])]}}]),model:{value:(_vm.range),callback:function ($$v) {_vm.range=$$v},expression:\"range\"}})],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - Calendar.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div class=\"row\">\n <div class=\"col\">Start</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.start) }}</div>\n </div>\n <div class=\"row\">\n <div class=\"col\">End</div>\n <div class=\"col-8\">{{ new Intl.DateTimeFormat(locale, {year: 'numeric', month: 'long', day: 'numeric'}).format(range.end) }}</div>\n </div>\n <date-picker\n v-model=\"range\"\n :rows=\"2\"\n is-range\n mode=\"date\"\n >\n <template v-slot=\"{ inputValue, inputEvents, isDragging, togglePopover }\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"btn-group btn-group-sm d-flex\">\n <button\n :title=\"$t('firefly.custom_period')\" class=\"btn btn-secondary btn-sm\"\n @click=\"togglePopover({ placement: 'auto-start', positionFixed: true })\"\n ><i class=\"fas fa-calendar-alt\"></i></button>\n <button :title=\"$t('firefly.reset_to_current')\"\n class=\"btn btn-secondary\"\n @click=\"resetDate\"\n ><i class=\"fas fa-history\"></i></button>\n <button id=\"dropdownMenuButton\" :title=\"$t('firefly.select_period')\" aria-expanded=\"false\" aria-haspopup=\"true\" class=\"btn btn-secondary dropdown-toggle\"\n data-toggle=\"dropdown\"\n type=\"button\">\n <i class=\"fas fa-list\"></i>\n </button>\n <div aria-labelledby=\"dropdownMenuButton\" class=\"dropdown-menu\">\n <a v-for=\"period in periods\" class=\"dropdown-item\" href=\"#\" @click=\"customDate(period.start, period.end)\">{{ period.title }}</a>\n </div>\n\n </div>\n <input v-on=\"inputEvents.start\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.start\"\n type=\"hidden\"\n />\n <input v-on=\"inputEvents.end\"\n :class=\"isDragging ? 'text-gray-600' : 'text-gray-900'\"\n :value=\"inputValue.end\"\n type=\"hidden\"\n />\n </div>\n </div>\n </template>\n </date-picker>\n </div>\n</template>\n\n<script>\n\nimport {createNamespacedHelpers} from \"vuex\";\nimport Vue from \"vue\";\nimport DatePicker from \"v-calendar/lib/components/date-picker.umd\";\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')\n\n\nVue.component('date-picker', DatePicker)\n\nexport default {\n name: \"Calendar\",\n created() {\n this.ready = true;\n this.locale = localStorage.locale ?? 'en-US';\n },\n data() {\n return {\n locale: 'en-US',\n ready: false,\n range: {\n start: null,\n end: null,\n },\n defaultRange: {\n start: null,\n end: null,\n },\n periods: []\n };\n },\n methods: {\n ...mapMutations(\n [\n 'setEnd',\n 'setStart',\n ],\n ),\n resetDate: function () {\n //console.log('Reset date to');\n //console.log(this.defaultStart);\n //console.log(this.defaultEnd);\n this.range.start = this.defaultStart;\n this.range.end = this.defaultEnd;\n this.setStart(this.defaultStart);\n this.setEnd(this.defaultEnd);\n },\n customDate: function (startStr, endStr) {\n let start = new Date(startStr);\n let end = new Date(endStr);\n this.setStart(start);\n this.setEnd(end);\n this.range.start = start;\n this.range.end = end;\n this.generatePeriods()\n return false;\n },\n generatePeriods: function () {\n this.periods = [];\n // create periods.\n let today;\n let end;\n\n today = new Date(this.range.start);\n\n // previous month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()-1, 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // this month\n firstDayOfMonth = new Date(today.getFullYear(), today.getMonth(), 1);\n lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // next month\n let firstDayOfMonth = new Date(today.getFullYear(), today.getMonth()+1, 1);\n let lastDayOfMonth = new Date(today.getFullYear(), today.getMonth()+2, 0);\n this.periods.push(\n {\n start: firstDayOfMonth.toDateString(),\n end: lastDayOfMonth.toDateString(),\n title: new Intl.DateTimeFormat(this.locale, {year: 'numeric', month: 'long'}).format(firstDayOfMonth)\n }\n );\n\n // last 7 days\n today = new Date;\n end = new Date;\n end.setDate(end.getDate() - 7);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_seven_days')\n }\n );\n\n // last 30 days:\n end.setDate(end.getDate() - 23);\n this.periods.push(\n {\n start: end.toDateString(),\n end: today.toDateString(),\n title: this.$t('firefly.last_thirty_days')\n }\n );\n // last 30 days\n // everything\n }\n },\n computed: {\n ...mapGetters([\n 'viewRange',\n 'start',\n 'end',\n 'defaultStart',\n 'defaultEnd'\n ]),\n 'datesReady': function () {\n return null !== this.start && null !== this.end && this.ready;\n },\n },\n watch: {\n datesReady: function (value) {\n if (false === value) {\n return;\n }\n this.range.start = new Date(this.start);\n this.range.end = new Date(this.end);\n this.generatePeriods();\n\n },\n range: function (value) {\n //console.log('User updated range');\n this.setStart(value.start);\n this.setEnd(value.end);\n }\n }\n}\n</script>\n\n<style scoped>\n.dropdown-item {\n color: #212529;\n}\n\n.dropdown-item:hover {\n color: #212529;\n}\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Calendar.vue?vue&type=template&id=12891edc&scoped=true&\"\nimport script from \"./Calendar.vue?vue&type=script&lang=js&\"\nexport * from \"./Calendar.vue?vue&type=script&lang=js&\"\nimport style0 from \"./Calendar.vue?vue&type=style&index=0&id=12891edc&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"12891edc\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Calendar.vue?vue&type=style&index=0&id=12891edc&scoped=true&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"69ef6cc5\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/v2/js/transactions/create.js b/public/v2/js/transactions/create.js
index 1a838f5e29..019c323f41 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:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},4319:(t,e,a)=>{"use strict";var n=a(9899),s=a(629),i=a(3324),o=a(7661),r=a(5524),c=a(4624),l=a(8923);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function _(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function p(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var g=(0,s._p)("transactions/create"),h=(g.mapState,g.mapGetters),m=(g.mapActions,g.mapMutations);const f={name:"Create",components:{SplitForm:c.Z,Alert:i.Z,SplitPills:o.Z,TransactionGroupTitle:r.Z},created:function(){this.getAllowedOpposingTypes(),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:{},defaultSourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],defaultDestinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:new Date,time:new Date}},computed:_({},h(["transactionType","transactions","groupTitle"])),watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:_(_({},m(["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{removeTransaction:function(t){this.$store.commit("transactions/create/deleteTransaction",t)},finalizeSubmit:function(){var t=this;if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e;if(!1===this.createAnother&&!1===this.inError)return void(window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?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 t.addTransaction()}),50))}},submitTransaction:function(){var t=this;this.enableSubmit=!1;var e=this.convertData();axios.post("./api/v1/transactions",e).then((function(a){t.submittedTransaction=!0,t.submitTransactionLinks(e,a),t.submitAttachments(e,a),t.returnedGroupId=parseInt(a.data.data.id),t.returnedGroupTitle=null===a.data.data.attributes.group_title?a.data.data.attributes.transactions[0].description:a.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(t,e){var a=e.data.data.attributes.transactions;for(var n in t.transactions)t.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(t){var e="str"+t;this.submittedAttCount[e]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=!0)},storeLocation:function(t){var e=t.hasMarker?t.zoomLevel:null,a=t.hasMarker?t.lat:null,n=t.hasMarker?t.lng:null;this.updateField({index:t.index,field:"zoom_level",value:e}),this.updateField({index:t.index,field:"latitude",value:a}),this.updateField({index:t.index,field:"longitude",value:n})},storeAccountValue:function(t){this.updateField({index:t.index,field:t.direction+"_account_id",value:t.id}),this.updateField({index:t.index,field:t.direction+"_account_type",value:t.type}),this.updateField({index:t.index,field:t.direction+"_account_name",value:t.name}),this.updateField({index:t.index,field:t.direction+"_account_currency_id",value:t.currency_id}),this.updateField({index:t.index,field:t.direction+"_account_currency_code",value:t.currency_code}),this.updateField({index:t.index,field:t.direction+"_account_currency_symbol",value:t.currency_symbol}),this.calculateTransactionType(t.index)},storeField:function(t){this.updateField(t)},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeGroupTitle:function(t){this.setGroupTitle({groupTitle:t})},calculateTransactionType:function(t){if(0===t){var e=this.transactions[0].source_account_type,a=this.transactions[0].destination_account_type;if(null===e||null===a)return void this.setTransactionType("any");if(""===e||""===a)return void this.setTransactionType("any");var n=this.accountToTransaction[e];if(void 0!==n){var s=n[a];if(void 0!==n[a])return void this.setTransactionType(s)}"Asset account"!==e&&this.updateField({index:0,field:"destination_account_id",value:null}),"Asset account"!==a&&this.updateField({index:0,field:"source_account_id",value:null}),this.setTransactionType("any")}},submitTransactionLinks:function(t,e){var a=[],n=e.data.data.attributes.transactions,s=0;for(var i in t.transactions)if(t.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=t.transactions[i];if(n.hasOwnProperty(i)){var r=n[i];for(var c in o.links)if(o.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=o.links[c];s++,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(t){})))}}}0!==s?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(t){for(var e in this.transactions)this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},convertData:function(){var t={transactions:[]};for(var e in this.groupTitle.length>0&&(t.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.transactions.push(this.convertSplit(e,this.transactions[e]));return t.transactions.length>1&&""!==t.transactions[0].description&&(t.group_title=t.transactions[0].description),t.transactions.length>1&&(t=this.synchronizeAccounts(t)),t},synchronizeAccounts:function(t){for(var e in t.transactions)t.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&("Transfer"===this.transactionType&&(t.transactions[e].source_name=null,t.transactions[e].destination_name=null,e>0&&(t.transactions[e].source_id=t.transactions[0].source_id,t.transactions[e].destination_id=t.transactions[0].destination_id)),"Deposit"===this.transactionType&&(t.transactions[e].destination_name=null,e>0&&(t.transactions[e].destination_id=t.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(t.transactions[e].source_name=null,e>0&&(t.transactions[e].source_id=t.transactions[0].source_id)));return t},switchAccounts:function(t){var e=this.transactions[t].source_account_id,a=this.transactions[t].source_account_name,n=this.transactions[t].source_account_type,s=this.transactions[t].destination_account_id,i=this.transactions[t].destination_account_name,o=this.transactions[t].destination_account_type;this.updateField({index:0,field:"source_account_id",value:s}),this.updateField({index:0,field:"source_account_name",value:i}),this.updateField({index:0,field:"source_account_type",value:o}),this.updateField({index:0,field:"destination_account_id",value:e}),this.updateField({index:0,field:"destination_account_name",value:a}),this.updateField({index:0,field:"destination_account_type",value:n}),this.calculateTransactionType(0)},convertSplit:function(t,e){var a,n,s,i,o="invalid";if(this.time instanceof Date&&!isNaN(this.time)&&this.date instanceof Date&&!isNaN(this.date)){var r=new Date(this.date);r.setHours(this.time.getHours()),r.setMinutes(this.time.getMinutes()),r.setSeconds(this.time.getSeconds()),o=(0,l.u6)(r)}var c,d,_,p={description:e.description,date:o,type:this.transactionType,source_id:null!==(a=e.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=e.source_account_name)&&void 0!==n?n:null,destination_id:null!==(s=e.destination_account_id)&&void 0!==s?s:null,destination_name:null!==(i=e.destination_account_name)&&void 0!==i?i:null,currency_id:e.currency_id,amount:e.amount,budget_id:e.budget_id,category_name:e.category,interest_date:e.interest_date,book_date:e.book_date,process_date:e.process_date,due_date:e.due_date,payment_date:e.payment_date,invoice_date:e.invoice_date,internal_reference:e.internal_reference,external_url:e.external_url,notes:e.notes,external_id:e.external_id,zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude,tags:[],order:0,reconciled:!1};if(0!==e.tags.length)for(var g in e.tags)if(e.tags.hasOwnProperty(g)&&/^0$|^[1-9]\d*$/.test(g)&&g<=4294967294){var h=e.tags[g];"object"===u(h)&&null!==h&&p.tags.push(h.text),"string"==typeof h&&p.tags.push(h)}0!==e.piggy_bank_id&&(p.piggy_bank_id=e.piggy_bank_id),0!==e.bill_id&&(p.bill_id=e.bill_id),0!==e.foreign_currency_id&&""!==e.foreign_amount&&(p.foreign_currency_id=e.foreign_currency_id),""!==e.foreign_amount&&(p.foreign_amount=e.foreign_amount),c=this.transactionType?this.transactionType.toLowerCase():"any",d=this.transactions[0].source_account_type,_=this.transactions[0].destination_account_type,p.currency_id=e.source_account_currency_id,"any"===c&&["asset","Asset account","Loan","Debt","Mortgage"].includes(d)&&(c="withdrawal"),"any"===c&&["asset","Asset account","Loan","Debt","Mortgage"].includes(_)&&(c="deposit",p.currency_id=e.destination_account_currency_id),p.type=c;var m=[];for(var f in e.links)if(e.links.hasOwnProperty(f)&&/^0$|^[1-9]\d*$/.test(f)&&f<=4294967294){var y=e.links[f],v=y.link_type_id.split("-"),b="outward"===v[1]?0:parseInt(y.transaction_journal_id),k="inward"===v[1]?0:parseInt(y.transaction_journal_id),w={link_type_id:parseInt(v[0]),inward_id:b,outward_id:k};m.push(w)}return p.links=m,p},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getAccountToTransaction:function(){var t=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(e){t.accountToTransaction=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},setDestinationAllowedTypes:function(t){0!==t.length?this.destinationAllowedTypes=t:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(t){0!==t.length?this.sourceAllowedTypes=t:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const y=(0,a(1900).Z)(f,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{"allowed-opposing-types":t.allowedOpposingTypes,count:t.transactions.length,"custom-fields":t.customFields,date:t.date,"destination-allowed-types":t.destinationAllowedTypes,index:n,"source-allowed-types":t.sourceAllowedTypes,"submitted-transaction":t.submittedTransaction,time:t.time,transaction:e,"transaction-type":t.transactionType},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"switch-accounts":function(e){return t.switchAccounts(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"set-dest-types":function(e){return t.setDestinationAllowedTypes(e)},"set-src-types":function(e){return t.setSourceAllowedTypes(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card 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"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-success btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.store_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n  \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var a=t.createAnother,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.createAnother=a.concat([null])):i>-1&&(t.createAnother=a.slice(0,i).concat(a.slice(i+1)))}else t.createAnother=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.create_another")))])])]),t._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!t.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var a=t.resetFormAfter,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.resetFormAfter=a.concat([null])):i>-1&&(t.resetFormAfter=a.slice(0,i).concat(a.slice(i+1)))}else t.resetFormAfter=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.reset_after")))])])])])])])])])])],1)}),[],!1,null,"6df98ad4",null).exports;var v=a(7760),b=a.n(v);a(232),b().config.productionTip=!1;var k=a(157),w={};new(b())({i18n:k,store:n.Z,render:function(t){return t(y,{props:w})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},4624:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(t){var e,a,n;if(""===t)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),i=t.split(":");s.setHours(parseInt(null!==(e=i[0])&&void 0!==e?e:0)),s.setMinutes(parseInt(null!==(a=i[1])&&void 0!==a?a:0)),s.setSeconds(parseInt(null!==(n=i[2])&&void 0!==n?n:0)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._e()])}),[],!1,null,null,null).exports;const u={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?e:""}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType))}}}};const p=(0,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const k=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._e()}),[],!1,null,"3ee4efa5",null).exports;const w={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._e()])})),0)}),[],!1,null,null,null).exports;const T={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const A={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const D=(0,o.Z)(A,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const F={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const P=(0,o.Z)(F,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const $={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)($,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const N={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const L=(0,o.Z)(N,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const V={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},search:function(){var t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const Z=(0,o.Z)(V,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),K=a(5352),H=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:K.Z,LTileLayer:H.Z,LMarker:J.Z},created:function(){var t=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(t){this.marker=[t.latlng.lat,t.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowedOpposingTypes:{type:Object,required:!1,default:{}},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:L,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:P,TransactionLinks:Z,TransactionBill:D,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=4319,t(t.s=e);var e}));t.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[282],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},4319:(t,e,a)=>{"use strict";var n=a(9899),s=a(629),i=a(3324),o=a(7661),r=a(5524),c=a(3044),l=a(8923);function u(t){return(u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function d(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function _(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?d(Object(a),!0).forEach((function(e){p(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):d(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function p(t,e,a){return e in t?Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}):t[e]=a,t}var g=(0,s._p)("transactions/create"),h=(g.mapState,g.mapGetters),m=(g.mapActions,g.mapMutations);const f={name:"Create",components:{SplitForm:c.Z,Alert:i.Z,SplitPills:o.Z,TransactionGroupTitle:r.Z},created:function(){this.getAllowedOpposingTypes(),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:{},defaultSourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],defaultDestinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],sourceAllowedTypes:["Asset account","Loan","Debt","Mortgage","Revenue account"],destinationAllowedTypes:["Asset account","Loan","Debt","Mortgage","Expense account"],date:new Date,time:new Date}},computed:_({},h(["transactionType","transactions","groupTitle"])),watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:_(_({},m(["setGroupTitle","addTransaction","deleteTransaction","setTransactionError","setTransactionType","resetErrors","updateField","resetTransactions"])),{},{removeTransaction:function(t){this.$store.commit("transactions/create/deleteTransaction",t)},finalizeSubmit:function(){var t=this;if(this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var e;if(!1===this.createAnother&&!1===this.inError)return void(window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?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 t.addTransaction()}),50))}},submitTransaction:function(){var t=this;this.enableSubmit=!1;var e=this.convertData();axios.post("./api/v1/transactions",e).then((function(a){t.submittedTransaction=!0,t.submitTransactionLinks(e,a),t.submitAttachments(e,a),t.returnedGroupId=parseInt(a.data.data.id),t.returnedGroupTitle=null===a.data.data.attributes.group_title?a.data.data.attributes.transactions[0].description:a.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(t,e){var a=e.data.data.attributes.transactions;for(var n in t.transactions)t.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(t){var e="str"+t;this.submittedAttCount[e]=1,Object.keys(this.submittedAttCount).length===this.transactions.length&&(this.submittedAttachments=!0)},storeLocation:function(t){var e=t.hasMarker?t.zoomLevel:null,a=t.hasMarker?t.lat:null,n=t.hasMarker?t.lng:null;this.updateField({index:t.index,field:"zoom_level",value:e}),this.updateField({index:t.index,field:"latitude",value:a}),this.updateField({index:t.index,field:"longitude",value:n})},storeAccountValue:function(t){this.updateField({index:t.index,field:t.direction+"_account_id",value:t.id}),this.updateField({index:t.index,field:t.direction+"_account_type",value:t.type}),this.updateField({index:t.index,field:t.direction+"_account_name",value:t.name}),this.updateField({index:t.index,field:t.direction+"_account_currency_id",value:t.currency_id}),this.updateField({index:t.index,field:t.direction+"_account_currency_code",value:t.currency_code}),this.updateField({index:t.index,field:t.direction+"_account_currency_symbol",value:t.currency_symbol}),this.calculateTransactionType(t.index)},storeField:function(t){this.updateField(t)},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeGroupTitle:function(t){this.setGroupTitle({groupTitle:t})},calculateTransactionType:function(t){if(0===t){var e=this.transactions[0].source_account_type,a=this.transactions[0].destination_account_type;if(null===e||null===a)return void this.setTransactionType("any");if(""===e||""===a)return void this.setTransactionType("any");var n=this.accountToTransaction[e];if(void 0!==n){var s=n[a];if(void 0!==n[a])return void this.setTransactionType(s)}"Asset account"!==e&&this.updateField({index:0,field:"destination_account_id",value:null}),"Asset account"!==a&&this.updateField({index:0,field:"source_account_id",value:null}),this.setTransactionType("any")}},submitTransactionLinks:function(t,e){var a=[],n=e.data.data.attributes.transactions,s=0;for(var i in t.transactions)if(t.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=t.transactions[i];if(n.hasOwnProperty(i)){var r=n[i];for(var c in o.links)if(o.links.hasOwnProperty(c)&&/^0$|^[1-9]\d*$/.test(c)&&c<=4294967294){var l=o.links[c];s++,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(t){})))}}}0!==s?Promise.all(a).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},parseErrors:function(t){for(var e in this.transactions)this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},convertData:function(){var t={transactions:[]};for(var e in this.groupTitle.length>0&&(t.group_title=this.groupTitle),this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.transactions.push(this.convertSplit(e,this.transactions[e]));return t.transactions.length>1&&""!==t.transactions[0].description&&(t.group_title=t.transactions[0].description),t.transactions.length>1&&(t=this.synchronizeAccounts(t)),t},synchronizeAccounts:function(t){for(var e in t.transactions)t.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&("Transfer"===this.transactionType&&(t.transactions[e].source_name=null,t.transactions[e].destination_name=null,e>0&&(t.transactions[e].source_id=t.transactions[0].source_id,t.transactions[e].destination_id=t.transactions[0].destination_id)),"Deposit"===this.transactionType&&(t.transactions[e].destination_name=null,e>0&&(t.transactions[e].destination_id=t.transactions[0].destination_id)),"Withdrawal"===this.transactionType&&(t.transactions[e].source_name=null,e>0&&(t.transactions[e].source_id=t.transactions[0].source_id)));return t},switchAccounts:function(t){var e=this.transactions[t].source_account_id,a=this.transactions[t].source_account_name,n=this.transactions[t].source_account_type,s=this.transactions[t].destination_account_id,i=this.transactions[t].destination_account_name,o=this.transactions[t].destination_account_type;this.updateField({index:0,field:"source_account_id",value:s}),this.updateField({index:0,field:"source_account_name",value:i}),this.updateField({index:0,field:"source_account_type",value:o}),this.updateField({index:0,field:"destination_account_id",value:e}),this.updateField({index:0,field:"destination_account_name",value:a}),this.updateField({index:0,field:"destination_account_type",value:n}),this.calculateTransactionType(0)},convertSplit:function(t,e){var a,n,s,i,o="invalid";if(this.time instanceof Date&&!isNaN(this.time)&&this.date instanceof Date&&!isNaN(this.date)){var r=new Date(this.date);r.setHours(this.time.getHours()),r.setMinutes(this.time.getMinutes()),r.setSeconds(this.time.getSeconds()),o=(0,l.u6)(r)}var c,d,_,p={description:e.description,date:o,type:this.transactionType,source_id:null!==(a=e.source_account_id)&&void 0!==a?a:null,source_name:null!==(n=e.source_account_name)&&void 0!==n?n:null,destination_id:null!==(s=e.destination_account_id)&&void 0!==s?s:null,destination_name:null!==(i=e.destination_account_name)&&void 0!==i?i:null,currency_id:e.currency_id,amount:e.amount,budget_id:e.budget_id,category_name:e.category,interest_date:e.interest_date,book_date:e.book_date,process_date:e.process_date,due_date:e.due_date,payment_date:e.payment_date,invoice_date:e.invoice_date,internal_reference:e.internal_reference,external_url:e.external_url,notes:e.notes,external_id:e.external_id,zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude,tags:[],order:0,reconciled:!1};if(0!==e.tags.length)for(var g in e.tags)if(e.tags.hasOwnProperty(g)&&/^0$|^[1-9]\d*$/.test(g)&&g<=4294967294){var h=e.tags[g];"object"===u(h)&&null!==h&&p.tags.push(h.text),"string"==typeof h&&p.tags.push(h)}0!==e.piggy_bank_id&&(p.piggy_bank_id=e.piggy_bank_id),0!==e.bill_id&&(p.bill_id=e.bill_id),0!==e.foreign_currency_id&&""!==e.foreign_amount&&(p.foreign_currency_id=e.foreign_currency_id),""!==e.foreign_amount&&(p.foreign_amount=e.foreign_amount),c=this.transactionType?this.transactionType.toLowerCase():"any",d=this.transactions[0].source_account_type,_=this.transactions[0].destination_account_type,p.currency_id=e.source_account_currency_id,"any"===c&&["asset","Asset account","Loan","Debt","Mortgage"].includes(d)&&(c="withdrawal"),"any"===c&&["asset","Asset account","Loan","Debt","Mortgage"].includes(_)&&(c="deposit",p.currency_id=e.destination_account_currency_id),p.type=c;var m=[];for(var f in e.links)if(e.links.hasOwnProperty(f)&&/^0$|^[1-9]\d*$/.test(f)&&f<=4294967294){var y=e.links[f],v=y.link_type_id.split("-"),b="outward"===v[1]?0:parseInt(y.transaction_journal_id),k="inward"===v[1]?0:parseInt(y.transaction_journal_id),w={link_type_id:parseInt(v[0]),inward_id:b,outward_id:k};m.push(w)}return p.links=m,p},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getAccountToTransaction:function(){var t=this;axios.get("./api/v1/configuration/firefly.account_to_transaction").then((function(e){t.accountToTransaction=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},setDestinationAllowedTypes:function(t){0!==t.length?this.destinationAllowedTypes=t:this.destinationAllowedTypes=this.defaultDestinationAllowedTypes},setSourceAllowedTypes:function(t){0!==t.length?this.sourceAllowedTypes=t:this.sourceAllowedTypes=this.defaultSourceAllowedTypes}})};const y=(0,a(1900).Z)(f,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{"allowed-opposing-types":t.allowedOpposingTypes,count:t.transactions.length,"custom-fields":t.customFields,date:t.date,"destination-allowed-types":t.destinationAllowedTypes,index:n,"source-allowed-types":t.sourceAllowedTypes,"submitted-transaction":t.submittedTransaction,time:t.time,transaction:e,"transaction-type":t.transactionType},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"switch-accounts":function(e){return t.switchAccounts(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"set-dest-types":function(e){return t.setDestinationAllowedTypes(e)},"set-src-types":function(e){return t.setSourceAllowedTypes(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card 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"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-success btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.store_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n  \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.createAnother,expression:"createAnother"}],staticClass:"form-check-input",attrs:{id:"createAnother",type:"checkbox"},domProps:{checked:Array.isArray(t.createAnother)?t._i(t.createAnother,null)>-1:t.createAnother},on:{change:function(e){var a=t.createAnother,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.createAnother=a.concat([null])):i>-1&&(t.createAnother=a.slice(0,i).concat(a.slice(i+1)))}else t.createAnother=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"createAnother"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.create_another")))])])]),t._v(" "),a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.resetFormAfter,expression:"resetFormAfter"}],staticClass:"form-check-input",attrs:{id:"resetFormAfter",disabled:!t.createAnother,type:"checkbox"},domProps:{checked:Array.isArray(t.resetFormAfter)?t._i(t.resetFormAfter,null)>-1:t.resetFormAfter},on:{change:function(e){var a=t.resetFormAfter,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.resetFormAfter=a.concat([null])):i>-1&&(t.resetFormAfter=a.slice(0,i).concat(a.slice(i+1)))}else t.resetFormAfter=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"resetFormAfter"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.reset_after")))])])])])])])])])])],1)}),[],!1,null,"6df98ad4",null).exports;var v=a(7760),b=a.n(v);a(232),b().config.productionTip=!1;var k=a(157),w={};new(b())({i18n:k,store:n.Z,render:function(t){return t(y,{props:w})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_create")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},3044:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:"",timeString:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(t){var e,a,n;if(""===t)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),i=t.split(":"),o=null!==(e=i[0])&&void 0!==e?e:"0",r=null!==(a=i[1])&&void 0!==a?a:"0",c=null!==(n=i[2])&&void 0!==n?n:"0";o=3===o.length?o.substr(1,2):o,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(o)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._e()])}),[],!1,null,null,null).exports;const u={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?e:""}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const p=(0,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const k=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._e()}),[],!1,null,"3ee4efa5",null).exports;const w={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._e()])})),0)}),[],!1,null,null,null).exports;const T={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const A={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const D=(0,o.Z)(A,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const F={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const P=(0,o.Z)(F,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const $={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)($,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const N={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const L=(0,o.Z)(N,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const V={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},search:function(){var t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const Z=(0,o.Z)(V,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const G={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),K=a(5352),H=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:K.Z,LTileLayer:H.Z,LMarker:J.Z},created:function(){var t=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(t){this.marker=[t.latlng.lat,t.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowedOpposingTypes:{type:Object,required:!1,default:{}},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:L,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:P,TransactionLinks:Z,TransactionBill:D,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,"transaction-type":t.transactionType,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"transaction-type":t.transactionType,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=4319,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=create.js.map
\ No newline at end of file
diff --git a/public/v2/js/transactions/create.js.map b/public/v2/js/transactions/create.js.map
index 8671a1912f..514b1af373 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/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?b960","webpack:///./src/pages/transactions/create.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?9e74","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?cd8f","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?a67c","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5643","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?653e","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?e9f4","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bcbd","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?82eb","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?43d9","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","getAllowedOpposingTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","defaultSourceAllowedTypes","defaultDestinationAllowedTypes","time","computed","watch","finalizeSubmit","methods","removeTransaction","$store","href","$t","hasOwnProperty","i","test","setTimeout","submitTransaction","post","submitAttachments","result","uploadedAttachment","key","storeLocation","storeAccountValue","calculateTransactionType","storeField","storeDate","storeTime","storeGroupTitle","dest","expectedDestinationTypes","submitTransactionLinks","submitted","ii","total","currentLink","outward_id","received","inward_id","promises","Promise","all","parseErrors","message","transactionIndex","split","fieldName","convertData","group_title","convertSplit","synchronizeAccounts","source_name","destination_name","source_id","destination_id","switchAccounts","theDate","setMinutes","setSeconds","dateStr","array","category_name","order","reconciled","currentSplit","current","text","toLowerCase","firstSource","firstDestination","includes","link_type_id","linkTypeParts","inwardId","outwardId","newLink","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","transaction","on","$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","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","isNaN","toISOString","set","timeStr","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","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","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","billList","getBills","parseBills","VueTagsInput","autocompleteItems","currentTag","updateTags","tagList","log","shortList","initItems","clearTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","url","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","parts","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","event","latlng","lat","lng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBAAkB,GAClBC,eAAgB,GAChBC,KAAM,GACNC,aAAc,GACdC,OAAQ,GACRC,SAAU,GACVC,KAAM,GACNC,KAAM,GACNC,WAAY,GACZC,mBAAoB,GACpBC,aAAc,GACdC,MAAO,GACPC,SAAU,IAIX,SAASC,IACZ,MAAO,CAEHlB,YAAa,GACbmB,uBAAwB,EA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I,CAACI,YAAY,4BAA4B,GAAGP,EAAIM,GAAG,KAAMN,EAAI3O,OAAOiD,OAAS,EAAG6L,EAAG,OAAOH,EAAIQ,GAAIR,EAAU,QAAE,SAAS9S,GAAO,OAAOiT,EAAG,OAAO,CAACI,YAAY,qBAAqB,CAACP,EAAIM,GAAGN,EAAIkB,GAAGhU,IAAQiT,EAAG,WAAU,GAAGH,EAAIiB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAIjU,EAAU,EAAQ,MACnBA,EAAQmjB,aAAYnjB,EAAUA,EAAQsY,SACnB,iBAAZtY,IAAsBA,EAAU,CAAC,CAACuM,EAAO3J,GAAI5C,EAAS,MAC7DA,EAAQojB,SAAQ7W,EAAOC,QAAUxM,EAAQojB,SAG/BC,EADH,WACO,WAAYrjB,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 * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - 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 <SplitPills :transactions=\"transactions\"/>\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\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 :time=\"time\"\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:switch-accounts=\"switchAccounts($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:set-dest-types=\"setDestinationAllowedTypes($event)\"\n v-on:set-src-types=\"setSourceAllowedTypes($event)\"\n\n />\n </div>\n\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card card-primary\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <button 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 &nbsp;\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 &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from 'vuex'\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {toW3CString} from '../shared/transactions';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')\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 this.getAllowedOpposingTypes();\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 defaultSourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n defaultDestinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date and time not in the store because it was buggy\n date: new Date,\n time: new Date,\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters([\n 'transactionType',\n 'transactions',\n 'groupTitle'\n ])\n },\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations(\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 () {\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 storeTime: function (payload) {\n this.time = payload.time;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Calculate the transaction type based on what's currently in the store.\n */\n calculateTransactionType: function (index) {\n //console.log('calculateTransactionType(' + index + ')');\n if (0 === index) {\n let source = this.transactions[0].source_account_type;\n let dest = this.transactions[0].destination_account_type;\n if (null === source || null === dest) {\n //console.log('transactionType any');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\n //console.log('calculateTransactionType: either type is NULL so no dice.');\n return;\n }\n if ('' === source || '' === dest) {\n //console.log('transactionType any');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\n //console.log('calculateTransactionType: either type is empty so no dice.');\n return;\n }\n // ok so type is set on both:\n let expectedDestinationTypes = this.accountToTransaction[source];\n if ('undefined' !== typeof expectedDestinationTypes) {\n let transactionType = expectedDestinationTypes[dest];\n if ('undefined' !== typeof expectedDestinationTypes[dest]) {\n //console.log('Found a type: ' + transactionType);\n this.setTransactionType(transactionType);\n //this.$store.commit('setTransactionType', transactionType);\n //console.log('calculateTransactionType: ' + source + ' --> ' + dest + ' = ' + transactionType);\n return;\n }\n }\n //console.log('Found no type for ' + source + ' --> ' + dest);\n if ('Asset account' !== source) {\n //console.log('Drop ID from destination.');\n this.updateField({index: 0, field: 'destination_account_id', value: null});\n //console.log('calculateTransactionType: drop ID from destination.');\n // source.id =null\n // context.commit('updateField', {field: 'source_account',index: })\n // context.state.transactions[0].source_account.id = null;\n }\n if ('Asset account' !== dest) {\n //console.log('Drop ID from source.');\n this.updateField({index: 0, field: 'source_account_id', value: null});\n //console.log('calculateTransactionType: drop ID from source.');\n //context.state.transactions[0].destination_account.id = null;\n }\n //console.log('calculateTransactionType: fallback, type to any.');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\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 let dateStr = 'invalid';\n if (\n this.time instanceof Date && !isNaN(this.time) &&\n this.date instanceof Date && !isNaN(this.date)\n ) {\n let theDate = new Date(this.date);\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n }\n\n // console.log('dateStr = ' + dateStr);\n\n let currentSplit = {\n // basic\n description: array.description,\n date: dateStr,\n type: this.transactionType,\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 ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstDestination)) {\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\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 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=6df98ad4&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 \"6df98ad4\",\n null\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('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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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,\"time\":_vm.time,\"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)},\"switch-accounts\":function($event){return _vm.switchAccounts($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-time\":function($event){return _vm.storeTime($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"set-dest-types\":function($event){return _vm.setDestinationAllowedTypes($event)},\"set-src-types\":function($event){return _vm.setSourceAllowedTypes($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)}\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\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: ''\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n current.setHours(parseInt(parts[0] ?? 0));\n current.setMinutes(parseInt(parts[1] ?? 0));\n current.setSeconds(parseInt(parts[2] ?? 0));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=cae9ea52&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=478aaf7f&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n @hit=\"selectedAccount = $event\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n allowedOpposingTypes: {\n type: Object,\n default: () => ({})\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\n this.accounts = this.initialSet;\n this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // console.log(this.direction + ': Will search for types:');\n // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //console.log('Got a response!');\n this.accounts = response.data;\n //console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\n // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n this.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\n // console.log('Index ' + this.index + ' nwAct: ', value);\n // console.log(this.direction + ' account overruled by external forces.');\n // console.log(value);\n this.account = value;\n this.selectedAccountTrigger = true;\n this.accountName = value.name ?? '';\n }\n },\n computed: {\n // 'transactionType',\n // 'sourceAllowedTypes',\n // 'destinationAllowedTypes',\n // 'allowedOpposingTypes'\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 if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType;\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=1cc84f21&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\">&nbsp;</span>\n </div>\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">&harr;</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=376bca8c&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"376bca8c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=fadf3e90&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fadf3e90\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">&nbsp;</div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n v-on:submit.prevent\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=7c0f4f0c&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)},\"submit\":function($event){$event.preventDefault();}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=7c81d840&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=f88cfd4e&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\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 &rarr;\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// 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>&nbsp;</p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n :time=\"splitTime\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\n // }\n // },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\n return {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n },\n destinationAccount: function () {\n return {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=26939696&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: ['transactions']\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=0e910ecf&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\"},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0===index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?21f2","webpack:///./src/components/transactions/Create.vue","webpack:///./src/components/transactions/Create.vue?b960","webpack:///./src/pages/transactions/create.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?f826","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?0ae7","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?a67c","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?a3d9","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?653e","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?e9f4","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bcbd","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?82eb","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?43d9","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","components","SplitForm","Alert","SplitPills","TransactionGroupTitle","created","this","getAllowedOpposingTypes","getAccountToTransaction","getCustomFields","errorMessage","successMessage","customFields","enableSubmit","createAnother","resetFormAfter","submittedTransaction","submittedLinks","submittedAttachments","inError","submittedAttCount","groupTitleErrors","returnedGroupId","returnedGroupTitle","defaultSourceAllowedTypes","defaultDestinationAllowedTypes","time","computed","watch","finalizeSubmit","methods","removeTransaction","$store","href","$t","hasOwnProperty","i","test","setTimeout","submitTransaction","post","submitAttachments","result","uploadedAttachment","key","storeLocation","storeAccountValue","calculateTransactionType","storeField","storeDate","storeTime","storeGroupTitle","dest","expectedDestinationTypes","submitTransactionLinks","submitted","ii","total","currentLink","outward_id","received","inward_id","promises","Promise","all","parseErrors","message","transactionIndex","split","fieldName","convertData","group_title","convertSplit","synchronizeAccounts","source_name","destination_name","source_id","destination_id","switchAccounts","theDate","setMinutes","setSeconds","dateStr","array","category_name","order","reconciled","currentSplit","current","text","toLowerCase","firstSource","firstDestination","includes","link_type_id","linkTypeParts","inwardId","outwardId","newLink","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","transaction","on","$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","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","timeString","isNaN","toISOString","set","timeStr","hrs","substr","min","sec","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","direction","String","Object","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","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","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","billList","getBills","parseBills","VueTagsInput","autocompleteItems","currentTag","updateTags","tagList","log","shortList","initItems","clearTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","url","external_uri","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","parts","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","event","latlng","lat","lng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBAAkB,GAClBC,eAAgB,GAChBC,KAAM,GACNC,aAAc,GACdC,OAAQ,GACRC,SAAU,GACVC,KAAM,GACNC,KAAM,GACNC,WAAY,GACZC,mBAAoB,GACpBC,aAAc,GACdC,MAAO,GACPC,SAAU,IAIX,SAASC,IACZ,MAAO,CAEHlB,YAAa,GACbmB,uBAAwB,EAExBC,kBAAmB,KACnBC,oBAAqB,KACrBC,oBAAqB,KAErBC,2BAA4B,KAC5BC,6BAA8B,KAC9BC,+BAAgC,KAEhCC,uBAAwB,KACxBC,yBAA0B,KA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,GAAKE,WAAW,UAAU,CAACb,EAAG,WAAW,CAACkD,KAAK,UAAU,CAAClD,EAAG,MAAM,CAACI,YAAY,sBAAsB,CAACJ,EAAG,SAAS,CAACI,YAAY,4BAA4BF,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUK,GAAG,CAAC,MAAQV,EAAI8C,mBAAmB,CAAC3C,EAAG,IAAI,CAACI,YAAY,4BAA4B,GAAGP,EAAIM,GAAG,KAAMN,EAAI3O,OAAOiD,OAAS,EAAG6L,EAAG,OAAOH,EAAIQ,GAAIR,EAAU,QAAE,SAAS9S,GAAO,OAAOiT,EAAG,OAAO,CAACI,YAAY,qBAAqB,CAACP,EAAIM,GAAGN,EAAIkB,GAAGhU,IAAQiT,EAAG,WAAU,GAAGH,EAAIiB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAIjU,EAAU,EAAQ,MACnBA,EAAQwjB,aAAYxjB,EAAUA,EAAQ2Y,SACnB,iBAAZ3Y,IAAsBA,EAAU,CAAC,CAACuM,EAAO3J,GAAI5C,EAAS,MAC7DA,EAAQyjB,SAAQlX,EAAOC,QAAUxM,EAAQyjB,SAG/BC,EADH,WACO,WAAY1jB,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 * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - 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 <SplitPills :transactions=\"transactions\"/>\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\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 :time=\"time\"\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:switch-accounts=\"switchAccounts($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:set-dest-types=\"setDestinationAllowedTypes($event)\"\n v-on:set-src-types=\"setSourceAllowedTypes($event)\"\n\n />\n </div>\n\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card card-primary\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <button 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 &nbsp;\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 &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"createAnother\" v-model=\"createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"createAnother\">\n <span class=\"small\">{{ $t('firefly.create_another') }}</span>\n </label>\n </div>\n <div class=\"form-check\">\n <input id=\"resetFormAfter\" v-model=\"resetFormAfter\" :disabled=\"!createAnother\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"resetFormAfter\">\n <span class=\"small\">{{ $t('firefly.reset_after') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nimport {createNamespacedHelpers} from 'vuex'\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport SplitForm from \"./SplitForm\";\nimport {toW3CString} from '../shared/transactions';\n\nconst {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')\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 this.getAllowedOpposingTypes();\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 defaultSourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n defaultDestinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n sourceAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Revenue account'],\n destinationAllowedTypes: ['Asset account', 'Loan', 'Debt', 'Mortgage', 'Expense account'],\n\n // date and time not in the store because it was buggy\n date: new Date,\n time: new Date,\n }\n },\n computed: {\n /**\n * Grabbed from the store.\n */\n ...mapGetters([\n 'transactionType',\n 'transactions',\n 'groupTitle'\n ])\n },\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n methods: {\n /**\n * Store related mutators used by this component.\n */\n ...mapMutations(\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 () {\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 storeTime: function (payload) {\n this.time = payload.time;\n },\n storeGroupTitle: function (value) {\n // console.log('set group title: ' + value);\n this.setGroupTitle({groupTitle: value});\n },\n\n /**\n * Calculate the transaction type based on what's currently in the store.\n */\n calculateTransactionType: function (index) {\n //console.log('calculateTransactionType(' + index + ')');\n if (0 === index) {\n let source = this.transactions[0].source_account_type;\n let dest = this.transactions[0].destination_account_type;\n if (null === source || null === dest) {\n //console.log('transactionType any');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\n //console.log('calculateTransactionType: either type is NULL so no dice.');\n return;\n }\n if ('' === source || '' === dest) {\n //console.log('transactionType any');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\n //console.log('calculateTransactionType: either type is empty so no dice.');\n return;\n }\n // ok so type is set on both:\n let expectedDestinationTypes = this.accountToTransaction[source];\n if ('undefined' !== typeof expectedDestinationTypes) {\n let transactionType = expectedDestinationTypes[dest];\n if ('undefined' !== typeof expectedDestinationTypes[dest]) {\n //console.log('Found a type: ' + transactionType);\n this.setTransactionType(transactionType);\n //this.$store.commit('setTransactionType', transactionType);\n //console.log('calculateTransactionType: ' + source + ' --> ' + dest + ' = ' + transactionType);\n return;\n }\n }\n //console.log('Found no type for ' + source + ' --> ' + dest);\n if ('Asset account' !== source) {\n //console.log('Drop ID from destination.');\n this.updateField({index: 0, field: 'destination_account_id', value: null});\n //console.log('calculateTransactionType: drop ID from destination.');\n // source.id =null\n // context.commit('updateField', {field: 'source_account',index: })\n // context.state.transactions[0].source_account.id = null;\n }\n if ('Asset account' !== dest) {\n //console.log('Drop ID from source.');\n this.updateField({index: 0, field: 'source_account_id', value: null});\n //console.log('calculateTransactionType: drop ID from source.');\n //context.state.transactions[0].destination_account.id = null;\n }\n //console.log('calculateTransactionType: fallback, type to any.');\n this.setTransactionType('any');\n //this.$store.commit('setTransactionType', 'any');\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 let dateStr = 'invalid';\n if (\n this.time instanceof Date && !isNaN(this.time) &&\n this.date instanceof Date && !isNaN(this.date)\n ) {\n let theDate = new Date(this.date);\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n }\n\n // console.log('dateStr = ' + dateStr);\n\n let currentSplit = {\n // basic\n description: array.description,\n date: dateStr,\n type: this.transactionType,\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 ('any' === transactionType && ['asset', 'Asset account', 'Loan', 'Debt', 'Mortgage'].includes(firstDestination)) {\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\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 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=6df98ad4&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 \"6df98ad4\",\n null\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('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:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"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,\"time\":_vm.time,\"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)},\"switch-accounts\":function($event){return _vm.switchAccounts($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-time\":function($event){return _vm.storeTime($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"set-dest-types\":function($event){return _vm.setDestinationAllowedTypes($event)},\"set-src-types\":function($event){return _vm.setSourceAllowedTypes($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)}\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\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Create, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_create');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: '',\n timeString: '',\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n // console.log('Return empty string!');\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n\n let hrs = parts[0] ?? '0';\n let min = parts[1] ?? '0';\n let sec = parts[2] ?? '0';\n hrs = 3 === hrs.length ? hrs.substr(1, 2) : hrs;\n min = 3 === min.length ? min.substr(1, 2) : min;\n sec = 3 === sec.length ? sec.substr(1, 2) : sec;\n // console.log('Hrs: ' + hrs);\n // console.log('Min: ' + min);\n // console.log('Sec: ' + sec);\n\n current.setHours(parseInt(hrs));\n current.setMinutes(parseInt(min));\n current.setSeconds(parseInt(sec));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=7d040c44&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=478aaf7f&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n @hit=\"selectedAccount = $event\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n allowedOpposingTypes: {\n type: Object,\n default: () => ({})\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\n this.accounts = this.initialSet;\n this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // console.log(this.direction + ': Will search for types:');\n // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //console.log('Got a response!');\n this.accounts = response.data;\n //console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\n // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n this.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\n // console.log('Index ' + this.index + ' nwAct: ', value);\n // console.log(this.direction + ' account overruled by external forces.');\n // console.log(value);\n this.account = value;\n this.selectedAccountTrigger = true;\n this.accountName = value.name ?? '';\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=44e9f764&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\">&nbsp;</span>\n </div>\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">&harr;</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=376bca8c&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"376bca8c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=fadf3e90&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fadf3e90\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">&nbsp;</div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n v-on:submit.prevent\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=7c0f4f0c&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)},\"submit\":function($event){$event.preventDefault();}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=7c81d840&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=f88cfd4e&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\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 &rarr;\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// 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>&nbsp;</p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n :time=\"splitTime\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\n // }\n // },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\n return {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n },\n destinationAccount: function () {\n return {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=5433c0d4&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: ['transactions']\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=0e910ecf&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\"},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0===index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/v2/js/transactions/edit.js b/public/v2/js/transactions/edit.js
index 75bc656624..d063b5bb83 100755
--- a/public/v2/js/transactions/edit.js
+++ b/public/v2/js/transactions/edit.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[847],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},843:(t,e,a)=>{"use strict";var n=a(9899),s=a(3324),i=a(7661),o=a(4624),r=a(5524),c=a(8923);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=a(3465);const d={name:"Edit",created:function(){var t=window.location.pathname.split("/");this.groupId=parseInt(t[t.length-1]),this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:"",errorMessage:"",warningMessage:"",transactions:[],originalTransactions:[],groupTitle:"",originalGroupTitle:"",transactionType:"any",groupId:0,groupTitleErrors:[],customFields:{},returnedGroupId:0,returnedGroupTitle:"",date:new Date,time:new Date,originalDate:new Date,originalTime:new Date,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,allowedOpposingTypes:{},destinationAllowedTypes:[],sourceAllowedTypes:[],enableSubmit:!0,stayHere:!1}},components:{Alert:s.Z,SplitPills:i.Z,SplitForm:o.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{getTransactionGroup:function(){var t=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(e){t.parseTransactionGroup(e.data)})).catch((function(t){}))},parseTransactionGroup:function(t){var e=t.data.attributes,a=e.transactions.reverse();for(var n in this.groupTitle=e.group_title,this.originalGroupTitle=e.group_title,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(s),this.originalTransactions.push(u(s)),this.parseLinks(parseInt(s.transaction_journal_id),parseInt(n))}},parseTransaction:function(t,e){var a;0===t&&(this.transactionType=e.type.charAt(0).toUpperCase()+e.type.slice(1),this.sourceAllowedTypes=[e.source_type],this.destinationAllowedTypes=[e.destination_type],this.date=new Date(e.date),this.time=new Date(e.date),this.originalDate=new Date(e.date),this.originalTime=new Date(e.date));var n=(0,c.f$)();return n.description=e.description,n.transaction_journal_id=parseInt(e.transaction_journal_id),n.source_account_id=e.source_id,n.source_account_name=e.source_name,n.source_account_type=e.source_type,n.destination_account_id=e.destination_id,n.destination_account_name=e.destination_name,n.destination_account_type=e.destination_type,n.amount=e.amount,n.currency_id=e.currency_id,n.foreign_amount=e.foreign_amount,n.foreign_currency_id=e.foreign_currency_id,n.category=e.category_name,n.budget_id=e.budget_id,n.bill_id=null!==(a=e.bill_id)&&void 0!==a?a:0,n.tags=e.tags,n.interest_date=e.interest_date?e.interest_date.substr(0,10):"",n.book_date=e.book_date?e.book_date.substr(0,10):"",n.process_date=e.process_date?e.process_date.substr(0,10):"",n.due_date=e.due_date?e.due_date.substr(0,10):"",n.payment_date=e.payment_date?e.payment_date.substr(0,10):"",n.invoice_date=e.invoice_date?e.invoice_date.substr(0,10):"",n.internal_reference=e.internal_reference,n.external_url=e.external_uri,n.external_id=e.external_id,n.notes=e.notes,n.location={zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude},n.zoom_level=e.zoom_level,n.longitude=e.longitude,n.latitude=e.latitude,n.errors=(0,c.kQ)(),n},parseLinks:function(t,e){var a=this;axios.get("./api/v1/transaction-journals/"+t+"/links").then((function(n){var s=n.data.data;for(var i in s)s.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.parseLink(s[i],t,e)}))},parseLink:function(t,e,a){var n=this,s=[],i=parseInt(t.attributes.inward_id),o="inward";i===e&&(i=parseInt(t.attributes.outward_id),o="outward"),s.push(new Promise((function(n){n({link:t,journalId:e,opposingId:i,index:a,direction:o})}))),s.push(axios.get("./api/v1/transaction-journals/"+i)),s.push(axios.get("./api/v1/transaction_links/"+t.attributes.link_type_id)),Promise.all(s).then((function(e){var a=e[1].data.data.attributes.transactions,s=e[0].opposingId,i={};for(var o in a)a.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a[o].transaction_journal_id===s&&(i=a[o]);var r=e[0].index,c=e[0].direction,l=e[2].data.data.id,u={id:t.id,link_type_id:l+"-"+c,transaction_group_id:e[1].data.data.id,transaction_journal_id:i.transaction_journal_id,description:i.description,type:i.type,currency_code:i.currency_code,amount:i.amount};n.transactions[r].links.push(u),n.originalTransactions[r].links.push(u)}))},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},uploadedAttachment:function(t){console.log("event: uploadedAttachment"),console.log(t)},storeLocation:function(t){this.transactions[t.index].zoom_level=t.zoomLevel,this.transactions[t.index].longitude=t.lng,this.transactions[t.index].latitude=t.lat},storeAccountValue:function(t){var e=t.direction,a=t.index;this.transactions[a][e+"_account_id"]=t.id,this.transactions[a][e+"_account_type"]=t.type,this.transactions[a][e+"_account_name"]=t.name},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeField:function(t){var e=t.field;"category"===e&&(e="category_name"),this.transactions[t.index][e]=t.value},removeTransaction:function(t){this.transactions.splice(t.index,1),this.originalTransactions=[]},storeGroupTitle:function(t){this.groupTitle=t},selectedAttachments:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&parseInt(this.transactions[e].transaction_journal_id)===parseInt(t)&&(this.transactions[e].selectedAttachments=!0)},addTransaction:function(){var t=(0,c.f$)();t.errors=(0,c.kQ)(),this.transactions.push(t)},submitTransaction:function(){var t={transactions:[]},e=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,e=!0);var s=this.originalTransactions.length;for(var i in this.transactions)if(this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=this.transactions[i],r=this.originalTransactions.hasOwnProperty(i)?this.originalTransactions[i]:{},d={},_=["description","source_account_id","source_account_name","destination_account_id","destination_account_name","amount","foreign_amount","foreign_currency_id","category_name","budget_id","bill_id","interest_date","book_date","due_date","payment_date","invoice_date","external_url","internal_reference","external_id","notes","zoom_level","longitude","latitude"];for(var p in _)if(_.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=_[p];o[g]!==r[g]&&(d[g]=o[g],e=!0)}if(0!==o.piggy_bank_id&&(d.piggy_bank_id=o.piggy_bank_id,e=!0),JSON.stringify(o.tags)!==JSON.stringify(r.tags)){if(d.tags=[],0!==o.tags.length)for(var h in o.tags)if(o.tags.hasOwnProperty(h)&&/^0$|^[1-9]\d*$/.test(h)&&h<=4294967294){var m=o.tags[h];"object"===l(m)&&null!==m&&d.tags.push(m.text),"string"==typeof m&&d.tags.push(m)}e=!0}this.compareLinks(o.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==o.selectedAttachments&&!0===o.selectedAttachments&&(n=!0);var f="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),e=!0;var y=this.date;y.setHours(this.time.getHours()),y.setMinutes(this.time.getMinutes()),y.setSeconds(this.time.getSeconds()),f=(0,c.u6)(y),d.date=f}(0===Object.keys(d).length&&s>1||0!==Object.keys(d).length)&&(d.transaction_journal_id=r.transaction_journal_id,t.transactions.push(u(d)),e=!0)}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+e),e&&this.submitUpdate(t,a,n),e||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!e&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},compareLinks:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&e.push({amount:t[a].amount,currency_code:t[a].currency_code,description:t[a].description,link_type_id:t[a].link_type_id,transaction_group_id:t[a].transaction_group_id,type:t[a].type});return JSON.stringify(e)},submitUpdate:function(t,e,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(t),axios.put(s,t).then((function(t){console.log("Response is OK!"),n.submittedTransaction=!0,e&&(console.log("Need to update links."),n.submitTransactionLinks()),e||console.log("No need to update links."),n.returnedGroupId=parseInt(t.data.data.id),n.returnedGroupTitle=null===t.data.data.attributes.group_title?t.data.data.attributes.transactions[0].description:t.data.data.attributes.group_title})).catch((function(t){console.log("error :("),console.log(t.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(t.response.data)}))},parseErrors:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(t){this.transactions[t.index].errors[t.field]=t.errors},resetErrors:function(t){this.transactions[t.index].errors=u((0,c.kQ)())},deleteOriginalLinks:function(t){for(var e in console.log(t.links),t.links)if(t.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a="/api/v1/transaction_links/"+t.links[e].id;axios.delete(a).then((function(t){}))}},submitTransactionLinks:function(){var t=0,e=[];for(var a in console.log("submitTransactionLinks()"),this.transactions)if(this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.transactions[a],s=this.originalTransactions.hasOwnProperty(a)?this.originalTransactions[a]:{},i=this.compareLinks(n.links),o=this.compareLinks(s.links);if(i!==o)for(var r in"[]"!==o&&this.deleteOriginalLinks(s),console.log("links are different!"),n.links)if(n.links.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=n.links[r],l={inward_id:n.transaction_journal_id,outward_id:n.transaction_journal_id,link_type_id:"something"},u=c.link_type_id.split("-");l.link_type_id=u[0],"inward"===u[1]&&(l.inward_id=c.transaction_journal_id),"outward"===u[1]&&(l.outward_id=c.transaction_journal_id),console.log(l),t++,e.push(axios.post("./api/v1/transaction_links",l).then((function(t){})))}}0!==t?Promise.all(e).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},finalizeSubmit:function(){if(console.log("now in finalizeSubmit()"),console.log("submittedTransaction : "+this.submittedTransaction),console.log("submittedLinks : "+this.submittedLinks),console.log("submittedAttachments : "+this.submittedAttachments),this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var t,e;if(console.log("all true"),console.log("inError = "+this.inError),console.log("stayHere = "+this.stayHere),console.log("returnedGroupId = "+this.returnedGroupId),!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(console.log("no error + no changes + no redirect"),this.errorMessage="",this.successMessage="",this.warningMessage=this.$t("firefly.transaction_updated_no_changes",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0===this.returnedGroupId)console.log("no error + no changes + redirect"),window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=no_change";if(!0===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId&&(console.log("no error + changes + redirect"),this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId)console.log("no error + changes + redirect"),window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in console.log("end of the line"),this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedLinks=!1,this.submittedAttachments=!1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.transactions.hasOwnProperty(a)}}}};const _=(0,a(1900).Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("Alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("Alert",{attrs:{message:t.warningMessage,type:"warning"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{count:t.transactions.length,transaction:e,"allowed-opposing-types":t.allowedOpposingTypes,"custom-fields":t.customFields,date:t.date,time:t.time,index:n,"transaction-type":t.transactionType,"destination-allowed-types":t.destinationAllowedTypes,"source-allowed-types":t.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":t.submittedTransaction},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"selected-attachments":function(e){return t.selectedAttachments(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.update_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n  \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(t.stayHere)?t._i(t.stayHere,null)>-1:t.stayHere},on:{change:function(e){var a=t.stayHere,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.stayHere=a.concat([null])):i>-1&&(t.stayHere=a.slice(0,i).concat(a.slice(i+1)))}else t.stayHere=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.after_update_create_another")))])])])])])])])])])],1)}),[],!1,null,"17cb1c2b",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var h=a(157),m={};new(g())({i18n:h,store:n.Z,render:function(t){return t(_,{props:m})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},4624:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(t){var e,a,n;if(""===t)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),i=t.split(":");s.setHours(parseInt(null!==(e=i[0])&&void 0!==e?e:0)),s.setMinutes(parseInt(null!==(a=i[1])&&void 0!==a?a:0)),s.setSeconds(parseInt(null!==(n=i[2])&&void 0!==n?n:0)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._e()])}),[],!1,null,null,null).exports;const u={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?e:""}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType))}}}};const p=(0,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const k=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._e()}),[],!1,null,"3ee4efa5",null).exports;const w={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._e()])})),0)}),[],!1,null,null,null).exports;const T={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const D={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const A=(0,o.Z)(D,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const P={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const $=(0,o.Z)(P,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const F={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)(F,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const L={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const N=(0,o.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const G={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},search:function(){var t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const V=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const Z={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),H=a(5352),K=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:H.Z,LTileLayer:K.Z,LMarker:J.Z},created:function(){var t=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(t){this.marker=[t.latlng.lat,t.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowedOpposingTypes:{type:Object,required:!1,default:{}},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:N,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:$,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=843,t(t.s=e);var e}));t.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[847],{232:(t,e,a)=>{"use strict";a.r(e);var n=a(7760),s=a.n(n),i=a(7152),o=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var r=document.head.querySelector('meta[name="csrf-token"]');r?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=r.content:console.error("CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token");var c=document.head.querySelector('meta[name="locale"]');localStorage.locale=c?c.content:"en_US",a(6891),a(3734),a(7632),a(5432),window.vuei18n=i.Z,window.uiv=o,s().use(vuei18n),s().use(o),window.Vue=s()},8923:(t,e,a)=>{"use strict";function n(){return{description:[],amount:[],source:[],destination:[],currency:[],foreign_currency:[],foreign_amount:[],date:[],custom_dates:[],budget:[],category:[],bill:[],tags:[],piggy_bank:[],internal_reference:[],external_url:[],notes:[],location:[]}}function s(){return{description:"",transaction_journal_id:0,source_account_id:null,source_account_name:null,source_account_type:null,source_account_currency_id:null,source_account_currency_code:null,source_account_currency_symbol:null,destination_account_id:null,destination_account_name:null,destination_account_type:null,destination_account_currency_id:null,destination_account_currency_code:null,destination_account_currency_symbol:null,source_account:{id:0,name:"",name_with_balance:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},destination_account:{id:0,name:"",type:"",currency_id:0,currency_name:"",currency_code:"",currency_decimal_places:2},amount:"",currency_id:0,foreign_amount:"",foreign_currency_id:0,category:null,budget_id:0,bill_id:0,piggy_bank_id:0,tags:[],interest_date:null,book_date:null,process_date:null,due_date:null,payment_date:null,invoice_date:null,internal_reference:null,external_url:null,external_id:null,notes:null,links:[],attachments:[],zoom_level:null,longitude:null,latitude:null,errors:{}}}function i(t){var e=t.getFullYear(),a=t.getMonth();++a<10&&(a="0"+a);var n=t.getDate();n<10&&(n="0"+n);var s=t.getHours();s<10&&(s="0"+s);var i=t.getMinutes();i<10&&(i="0"+i);var o=t.getSeconds();o<10&&(o="0"+o);var r=-t.getTimezoneOffset(),c=Math.abs(Math.floor(r/60)),l=Math.abs(r)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var u="+";return r<0&&(u="-"),e+"-"+a+"-"+n+"T"+s+":"+i+":"+o+u+c+":"+l}a.d(e,{kQ:()=>n,f$:()=>s,u6:()=>i})},9899:(t,e,a)=>{"use strict";a.d(e,{Z:()=>h});var n=a(7760),s=a.n(n),i=a(629),o=a(8923),r=a(3465);const c={namespaced:!0,state:function(){return{transactionType:"any",groupTitle:"",transactions:[],customDateFields:{interest_date:!1,book_date:!1,process_date:!1,due_date:!1,payment_date:!1,invoice_date:!1},defaultTransaction:(0,o.f$)(),defaultErrors:(0,o.kQ)()}},getters:{transactions:function(t){return t.transactions},groupTitle:function(t){return t.groupTitle},transactionType:function(t){return t.transactionType},accountToTransaction:function(t){return t.accountToTransaction},defaultTransaction:function(t){return t.defaultTransaction},sourceAllowedTypes:function(t){return t.sourceAllowedTypes},destinationAllowedTypes:function(t){return t.destinationAllowedTypes},allowedOpposingTypes:function(t){return t.allowedOpposingTypes},customDateFields:function(t){return t.customDateFields}},actions:{},mutations:{addTransaction:function(t){var e=r(t.defaultTransaction);e.errors=r(t.defaultErrors),t.transactions.push(e)},resetErrors:function(t,e){t.transactions[e.index].errors=r(t.defaultErrors)},resetTransactions:function(t){t.transactions=[]},setGroupTitle:function(t,e){t.groupTitle=e.groupTitle},setCustomDateFields:function(t,e){t.customDateFields=e},deleteTransaction:function(t,e){t.transactions.splice(e.index,1),t.transactions.length},setTransactionType:function(t,e){t.transactionType=e},setAllowedOpposingTypes:function(t,e){t.allowedOpposingTypes=e},setAccountToTransaction:function(t,e){t.accountToTransaction=e},updateField:function(t,e){t.transactions[e.index][e.field]=e.value},setTransactionError:function(t,e){t.transactions[e.index].errors[e.field]=e.errors},setDestinationAllowedTypes:function(t,e){t.destinationAllowedTypes=e},setSourceAllowedTypes:function(t,e){t.sourceAllowedTypes=e}}};const l={namespaced:!0,state:function(){return{}},getters:{},actions:{},mutations:{}};const u={namespaced:!0,state:function(){return{viewRange:"default",start:null,end:null,defaultStart:null,defaultEnd:null}},getters:{start:function(t){return t.start},end:function(t){return t.end},defaultStart:function(t){return t.defaultStart},defaultEnd:function(t){return t.defaultEnd},viewRange:function(t){return t.viewRange}},actions:{initialiseStore:function(t){"default"===t.state.viewRange&&axios.get("./api/v1/preferences/viewRange").then((function(e){var a=e.data.data.attributes.data;t.commit("setViewRange",a),t.dispatch("setDatesFromViewRange")})).catch((function(e){t.commit("setViewRange","1M"),t.dispatch("setDatesFromViewRange")}))},setDatesFromViewRange:function(t){if(localStorage.viewRangeStart&&t.commit("setStart",new Date(localStorage.viewRangeStart)),localStorage.viewRangeEnd&&t.commit("setEnd",new Date(localStorage.viewRangeEnd)),localStorage.viewRangeDefaultStart&&t.commit("setDefaultStart",new Date(localStorage.viewRangeDefaultStart)),localStorage.viewRangeDefaultEnd&&t.commit("setDefaultEnd",new Date(localStorage.viewRangeDefaultEnd)),null===t.getters.end||null===t.getters.start){var e,a;switch(t.getters.viewRange){case"1D":e=new Date,a=new Date(e.getTime()),e.setHours(0,0,0,0),a.setHours(23,59,59,999);break;case"1W":e=new Date,a=new Date(e.getTime());var n=e.getDate()-e.getDay()+(0===e.getDay()?-6:1);e.setDate(n),e.setHours(0,0,0,0);var s=a.getDate()-(a.getDay()-1)+6;a.setDate(s),a.setHours(23,59,59,999);break;case"1M":e=new Date,(e=new Date(e.getFullYear(),e.getMonth(),1)).setHours(0,0,0,0),(a=new Date(e.getFullYear(),e.getMonth()+1,0)).setHours(23,59,59,999);break;case"3M":e=new Date,a=new Date;var i=Math.floor((e.getMonth()+3)/3)-1;(e=new Date(e.getFullYear(),[0,3,6,9][i],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[2,5,8,11][i],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"6M":e=new Date,a=new Date;var o=e.getMonth()<=5?0:1;(e=new Date(e.getFullYear(),[0,6][o],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][o],1),(a=new Date(a.getFullYear(),a.getMonth()+1,0)).setHours(23,59,59,999);break;case"1Y":e=new Date,a=new Date,e=new Date(e.getFullYear(),0,1),a=new Date(a.getFullYear(),11,31),e.setHours(0,0,0,0),a.setHours(23,59,59,999)}t.commit("setStart",e),t.commit("setEnd",a),t.commit("setDefaultStart",e),t.commit("setDefaultEnd",a)}}},mutations:{setStart:function(t,e){t.start=e,window.localStorage.setItem("viewRangeStart",e)},setEnd:function(t,e){t.end=e,window.localStorage.setItem("viewRangeEnd",e)},setDefaultStart:function(t,e){t.defaultStart=e,window.localStorage.setItem("viewRangeDefaultStart",e)},setDefaultEnd:function(t,e){t.defaultEnd=e,window.localStorage.setItem("viewRangeDefaultEnd",e)},setViewRange:function(t,e){t.viewRange=e}}};var d=function(){return{listPageSize:33}},_={initialiseStore:function(t){localStorage.listPageSize&&(d.listPageSize=localStorage.listPageSize,t.commit("setListPageSize",{length:localStorage.listPageSize})),localStorage.listPageSize||axios.get("./api/v1/preferences/listPageSize").then((function(e){t.commit("setListPageSize",{length:parseInt(e.data.data.attributes.data)})}))}};const p={namespaced:!0,state:d,getters:{listPageSize:function(t){return t.listPageSize}},actions:_,mutations:{setListPageSize:function(t,e){var a=parseInt(e.length);0!==a&&(t.listPageSize=a)}}};const g={namespaced:!0,state:function(){return{orderMode:!1,activeFilter:1}},getters:{orderMode:function(t){return t.orderMode},activeFilter:function(t){return t.activeFilter}},actions:{},mutations:{setOrderMode:function(t,e){t.orderMode=e},setActiveFilter:function(t,e){t.activeFilter=e}}};s().use(i.ZP);const h=new i.ZP.Store({namespaced:!0,modules:{root:p,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:g}},dashboard:{namespaced:!0,modules:{index:u}}},strict:false,plugins:[],state:{currencyPreference:{},locale:"en-US",listPageSize:50},mutations:{setCurrencyPreference:function(t,e){t.currencyPreference=e.payload},initialiseStore:function(t){if(localStorage.locale)t.locale=localStorage.locale;else{var e=document.head.querySelector('meta[name="locale"]');e&&(t.locale=e.content,localStorage.locale=e.content)}}},getters:{currencyCode:function(t){return t.currencyPreference.code},currencyPreference:function(t){return t.currencyPreference},currencyId:function(t){return t.currencyPreference.id},locale:function(t){return t.locale}},actions:{updateCurrencyPreference:function(t){localStorage.currencyPreference?t.commit("setCurrencyPreference",{payload:JSON.parse(localStorage.currencyPreference)}):axios.get("./api/v1/currencies/default").then((function(e){var a={id:parseInt(e.data.data.id),name:e.data.data.attributes.name,symbol:e.data.data.attributes.symbol,code:e.data.data.attributes.code,decimal_places:parseInt(e.data.data.attributes.decimal_places)};localStorage.currencyPreference=JSON.stringify(a),t.commit("setCurrencyPreference",{payload:a})})).catch((function(e){console.error(e),t.commit("setCurrencyPreference",{payload:{id:1,name:"Euro",symbol:"€",code:"EUR",decimal_places:2}})}))}}})},157:(t,e,a)=>{t.exports=new vuei18n({locale:document.documentElement.lang,fallbackLocale:"en",messages:{bg:a(7154),cs:a(6407),de:a(4726),en:a(3340),"en-us":a(3340),"en-gb":a(6318),es:a(5394),el:a(3636),fr:a(2551),hu:a(995),it:a(9112),nl:a(4671),nb:a(9085),pl:a(6238),fi:a(7868),"pt-br":a(6586),"pt-pt":a(8664),ro:a(1102),ru:a(753),"zh-tw":a(1715),"zh-cn":a(4556),sk:a(7049),sv:a(7921),vi:a(1497)}})},843:(t,e,a)=>{"use strict";var n=a(9899),s=a(3324),i=a(7661),o=a(3044),r=a(5524),c=a(8923);function l(t){return(l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}var u=a(3465);const d={name:"Edit",created:function(){var t=window.location.pathname.split("/");this.groupId=parseInt(t[t.length-1]),this.getTransactionGroup(),this.getAllowedOpposingTypes(),this.getCustomFields()},data:function(){return{successMessage:"",errorMessage:"",warningMessage:"",transactions:[],originalTransactions:[],groupTitle:"",originalGroupTitle:"",transactionType:"any",groupId:0,groupTitleErrors:[],customFields:{},returnedGroupId:0,returnedGroupTitle:"",date:new Date,time:new Date,originalDate:new Date,originalTime:new Date,submittedTransaction:!1,submittedLinks:!1,submittedAttachments:!1,inError:!1,allowedOpposingTypes:{},destinationAllowedTypes:[],sourceAllowedTypes:[],enableSubmit:!0,stayHere:!1}},components:{Alert:s.Z,SplitPills:i.Z,SplitForm:o.Z,TransactionGroupTitle:r.Z},watch:{submittedTransaction:function(){this.finalizeSubmit()},submittedLinks:function(){this.finalizeSubmit()},submittedAttachments:function(){this.finalizeSubmit()}},methods:{getTransactionGroup:function(){var t=this;axios.get("./api/v1/transactions/"+this.groupId).then((function(e){t.parseTransactionGroup(e.data)})).catch((function(t){}))},parseTransactionGroup:function(t){var e=t.data.attributes,a=e.transactions.reverse();for(var n in this.groupTitle=e.group_title,this.originalGroupTitle=e.group_title,a)if(a.hasOwnProperty(n)&&/^0$|^[1-9]\d*$/.test(n)&&n<=4294967294){var s=this.parseTransaction(parseInt(n),a[n]);this.transactions.push(s),this.originalTransactions.push(u(s)),this.parseLinks(parseInt(s.transaction_journal_id),parseInt(n))}},parseTransaction:function(t,e){var a;0===t&&(this.transactionType=e.type.charAt(0).toUpperCase()+e.type.slice(1),this.sourceAllowedTypes=[e.source_type],this.destinationAllowedTypes=[e.destination_type],this.date=new Date(e.date),this.time=new Date(e.date),this.originalDate=new Date(e.date),this.originalTime=new Date(e.date));var n=(0,c.f$)();return n.description=e.description,n.transaction_journal_id=parseInt(e.transaction_journal_id),n.source_account_id=e.source_id,n.source_account_name=e.source_name,n.source_account_type=e.source_type,n.destination_account_id=e.destination_id,n.destination_account_name=e.destination_name,n.destination_account_type=e.destination_type,n.amount=e.amount,n.currency_id=e.currency_id,n.foreign_amount=e.foreign_amount,n.foreign_currency_id=e.foreign_currency_id,n.category=e.category_name,n.budget_id=e.budget_id,n.bill_id=null!==(a=e.bill_id)&&void 0!==a?a:0,n.tags=e.tags,n.interest_date=e.interest_date?e.interest_date.substr(0,10):"",n.book_date=e.book_date?e.book_date.substr(0,10):"",n.process_date=e.process_date?e.process_date.substr(0,10):"",n.due_date=e.due_date?e.due_date.substr(0,10):"",n.payment_date=e.payment_date?e.payment_date.substr(0,10):"",n.invoice_date=e.invoice_date?e.invoice_date.substr(0,10):"",n.internal_reference=e.internal_reference,n.external_url=e.external_uri,n.external_id=e.external_id,n.notes=e.notes,n.location={zoom_level:e.zoom_level,longitude:e.longitude,latitude:e.latitude},n.zoom_level=e.zoom_level,n.longitude=e.longitude,n.latitude=e.latitude,n.errors=(0,c.kQ)(),n},parseLinks:function(t,e){var a=this;axios.get("./api/v1/transaction-journals/"+t+"/links").then((function(n){var s=n.data.data;for(var i in s)s.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294&&a.parseLink(s[i],t,e)}))},parseLink:function(t,e,a){var n=this,s=[],i=parseInt(t.attributes.inward_id),o="inward";i===e&&(i=parseInt(t.attributes.outward_id),o="outward"),s.push(new Promise((function(n){n({link:t,journalId:e,opposingId:i,index:a,direction:o})}))),s.push(axios.get("./api/v1/transaction-journals/"+i)),s.push(axios.get("./api/v1/transaction_links/"+t.attributes.link_type_id)),Promise.all(s).then((function(e){var a=e[1].data.data.attributes.transactions,s=e[0].opposingId,i={};for(var o in a)a.hasOwnProperty(o)&&/^0$|^[1-9]\d*$/.test(o)&&o<=4294967294&&a[o].transaction_journal_id===s&&(i=a[o]);var r=e[0].index,c=e[0].direction,l=e[2].data.data.id,u={id:t.id,link_type_id:l+"-"+c,transaction_group_id:e[1].data.data.id,transaction_journal_id:i.transaction_journal_id,description:i.description,type:i.type,currency_code:i.currency_code,amount:i.amount};n.transactions[r].links.push(u),n.originalTransactions[r].links.push(u)}))},getAllowedOpposingTypes:function(){var t=this;axios.get("./api/v1/configuration/firefly.allowed_opposing_types").then((function(e){t.allowedOpposingTypes=e.data.data.value}))},getCustomFields:function(){var t=this;axios.get("./api/v1/preferences/transaction_journal_optional_fields").then((function(e){t.customFields=e.data.data.attributes.data}))},uploadedAttachment:function(t){console.log("event: uploadedAttachment"),console.log(t)},storeLocation:function(t){this.transactions[t.index].zoom_level=t.zoomLevel,this.transactions[t.index].longitude=t.lng,this.transactions[t.index].latitude=t.lat},storeAccountValue:function(t){var e=t.direction,a=t.index;this.transactions[a][e+"_account_id"]=t.id,this.transactions[a][e+"_account_type"]=t.type,this.transactions[a][e+"_account_name"]=t.name},storeDate:function(t){this.date=t.date},storeTime:function(t){this.time=t.time},storeField:function(t){var e=t.field;"category"===e&&(e="category_name"),this.transactions[t.index][e]=t.value},removeTransaction:function(t){this.transactions.splice(t.index,1),this.originalTransactions=[]},storeGroupTitle:function(t){this.groupTitle=t},selectedAttachments:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&parseInt(this.transactions[e].transaction_journal_id)===parseInt(t)&&(this.transactions[e].selectedAttachments=!0)},addTransaction:function(){var t=(0,c.f$)();t.errors=(0,c.kQ)(),this.transactions.push(t)},submitTransaction:function(){var t={transactions:[]},e=!1,a=!1,n=!1;this.groupTitle!==this.originalGroupTitle&&(t.group_title=this.groupTitle,e=!0);var s=this.originalTransactions.length;for(var i in this.transactions)if(this.transactions.hasOwnProperty(i)&&/^0$|^[1-9]\d*$/.test(i)&&i<=4294967294){var o=this.transactions[i],r=this.originalTransactions.hasOwnProperty(i)?this.originalTransactions[i]:{},d={},_=["description","source_account_id","source_account_name","destination_account_id","destination_account_name","amount","foreign_amount","foreign_currency_id","category_name","budget_id","bill_id","interest_date","book_date","due_date","payment_date","invoice_date","external_url","internal_reference","external_id","notes","zoom_level","longitude","latitude"];for(var p in _)if(_.hasOwnProperty(p)&&/^0$|^[1-9]\d*$/.test(p)&&p<=4294967294){var g=_[p];o[g]!==r[g]&&(d[g]=o[g],e=!0)}if(0!==o.piggy_bank_id&&(d.piggy_bank_id=o.piggy_bank_id,e=!0),JSON.stringify(o.tags)!==JSON.stringify(r.tags)){if(d.tags=[],0!==o.tags.length)for(var h in o.tags)if(o.tags.hasOwnProperty(h)&&/^0$|^[1-9]\d*$/.test(h)&&h<=4294967294){var m=o.tags[h];"object"===l(m)&&null!==m&&d.tags.push(m.text),"string"==typeof m&&d.tags.push(m)}e=!0}this.compareLinks(o.links)!==this.compareLinks(r.links)&&(a=!0),void 0!==o.selectedAttachments&&!0===o.selectedAttachments&&(n=!0);var f="invalid";if(this.date.toISOString()!==this.originalDate.toISOString()||this.time.toISOString()!==this.originalTime.toISOString()){console.log("Date and/or time is changed"),e=!0;var y=this.date;y.setHours(this.time.getHours()),y.setMinutes(this.time.getMinutes()),y.setSeconds(this.time.getSeconds()),f=(0,c.u6)(y),d.date=f}(0===Object.keys(d).length&&s>1||0!==Object.keys(d).length)&&(d.transaction_journal_id=r.transaction_journal_id,t.transactions.push(u(d)),e=!0)}console.log("submitTransaction"),console.log("shouldUpload : "+n),console.log("shouldLinks : "+a),console.log("shouldSubmit : "+e),e&&this.submitUpdate(t,a,n),e||(this.submittedTransaction=!0),a||(this.submittedLinks=!0),n||(this.submittedAttachments=!0),!e&&a&&this.submitTransactionLinks(),console.log("Done with submit methd.")},compareLinks:function(t){var e=[];for(var a in t)t.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&e.push({amount:t[a].amount,currency_code:t[a].currency_code,description:t[a].description,link_type_id:t[a].link_type_id,transaction_group_id:t[a].transaction_group_id,type:t[a].type});return JSON.stringify(e)},submitUpdate:function(t,e,a){var n=this;console.log("submitUpdate"),this.inError=!1;var s="./api/v1/transactions/"+this.groupId;console.log(t),axios.put(s,t).then((function(t){console.log("Response is OK!"),n.submittedTransaction=!0,e&&(console.log("Need to update links."),n.submitTransactionLinks()),e||console.log("No need to update links."),n.returnedGroupId=parseInt(t.data.data.id),n.returnedGroupTitle=null===t.data.data.attributes.group_title?t.data.data.attributes.transactions[0].description:t.data.data.attributes.group_title})).catch((function(t){console.log("error :("),console.log(t.response.data),n.enableSubmit=!0,n.submittedTransaction=!0,n.submittedAttachments=!0,n.submittedLinks=!0,n.inError=!0,n.parseErrors(t.response.data)}))},parseErrors:function(t){for(var e in this.transactions)this.transactions.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&this.resetErrors({index:e});var a,n,s;for(var i in this.successMessage="",this.errorMessage=this.$t("firefly.errors_submission"),void 0===t.errors&&(this.successMessage="",this.errorMessage=t.message),t.errors)if(t.errors.hasOwnProperty(i)){if("group_title"===i){this.groupTitleErrors=t.errors[i];continue}if("group_title"!==i)switch(n=parseInt(i.split(".")[1]),s=i.split(".")[2]){case"amount":case"description":case"date":case"tags":a={index:n,field:s,errors:t.errors[i]},this.setTransactionError(a);break;case"budget_id":a={index:n,field:"budget",errors:t.errors[i]},this.setTransactionError(a);break;case"bill_id":a={index:n,field:"bill",errors:t.errors[i]},this.setTransactionError(a);break;case"piggy_bank_id":a={index:n,field:"piggy_bank",errors:t.errors[i]},this.setTransactionError(a);break;case"category_name":a={index:n,field:"category",errors:t.errors[i]},this.setTransactionError(a);break;case"source_name":case"source_id":a={index:n,field:"source",errors:t.errors[i]},this.setTransactionError(a);break;case"destination_name":case"destination_id":a={index:n,field:"destination",errors:t.errors[i]},this.setTransactionError(a);break;case"foreign_amount":case"foreign_currency":a={index:n,field:"foreign_amount",errors:t.errors[i]},this.setTransactionError(a)}this.transactions[n]}},setTransactionError:function(t){this.transactions[t.index].errors[t.field]=t.errors},resetErrors:function(t){this.transactions[t.index].errors=u((0,c.kQ)())},deleteOriginalLinks:function(t){for(var e in console.log(t.links),t.links)if(t.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a="/api/v1/transaction_links/"+t.links[e].id;axios.delete(a).then((function(t){}))}},submitTransactionLinks:function(){var t=0,e=[];for(var a in console.log("submitTransactionLinks()"),this.transactions)if(this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.transactions[a],s=this.originalTransactions.hasOwnProperty(a)?this.originalTransactions[a]:{},i=this.compareLinks(n.links),o=this.compareLinks(s.links);if(i!==o)for(var r in"[]"!==o&&this.deleteOriginalLinks(s),console.log("links are different!"),n.links)if(n.links.hasOwnProperty(r)&&/^0$|^[1-9]\d*$/.test(r)&&r<=4294967294){var c=n.links[r],l={inward_id:n.transaction_journal_id,outward_id:n.transaction_journal_id,link_type_id:"something"},u=c.link_type_id.split("-");l.link_type_id=u[0],"inward"===u[1]&&(l.inward_id=c.transaction_journal_id),"outward"===u[1]&&(l.outward_id=c.transaction_journal_id),console.log(l),t++,e.push(axios.post("./api/v1/transaction_links",l).then((function(t){})))}}0!==t?Promise.all(e).then((function(){this.submittedLinks=!0})):this.submittedLinks=!0},finalizeSubmit:function(){if(console.log("now in finalizeSubmit()"),console.log("submittedTransaction : "+this.submittedTransaction),console.log("submittedLinks : "+this.submittedLinks),console.log("submittedAttachments : "+this.submittedAttachments),this.submittedTransaction&&this.submittedAttachments&&this.submittedLinks){var t,e;if(console.log("all true"),console.log("inError = "+this.inError),console.log("stayHere = "+this.stayHere),console.log("returnedGroupId = "+this.returnedGroupId),!0===this.stayHere&&!1===this.inError&&0===this.returnedGroupId&&(console.log("no error + no changes + no redirect"),this.errorMessage="",this.successMessage="",this.warningMessage=this.$t("firefly.transaction_updated_no_changes",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0===this.returnedGroupId)console.log("no error + no changes + redirect"),window.location.href=(null!==(t=window.previousURL)&&void 0!==t?t:"/")+"?transaction_group_id="+this.groupId+"&message=no_change";if(!0===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId&&(console.log("no error + changes + redirect"),this.errorMessage="",this.warningMessage="",this.successMessage=this.$t("firefly.transaction_updated_link",{ID:this.returnedGroupId,title:this.returnedGroupTitle})),!1===this.stayHere&&!1===this.inError&&0!==this.returnedGroupId)console.log("no error + changes + redirect"),window.location.href=(null!==(e=window.previousURL)&&void 0!==e?e:"/")+"?transaction_group_id="+this.groupId+"&message=updated";for(var a in console.log("end of the line"),this.enableSubmit=!0,this.submittedTransaction=!1,this.submittedLinks=!1,this.submittedAttachments=!1,this.inError=!1,this.transactions)this.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294&&this.transactions.hasOwnProperty(a)}}}};const _=(0,a(1900).Z)(d,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("Alert",{attrs:{message:t.errorMessage,type:"danger"}}),t._v(" "),a("Alert",{attrs:{message:t.successMessage,type:"success"}}),t._v(" "),a("Alert",{attrs:{message:t.warningMessage,type:"warning"}}),t._v(" "),a("SplitPills",{attrs:{transactions:t.transactions}}),t._v(" "),a("div",{staticClass:"tab-content"},t._l(this.transactions,(function(e,n){return a("SplitForm",{key:n,attrs:{count:t.transactions.length,transaction:e,"allowed-opposing-types":t.allowedOpposingTypes,"custom-fields":t.customFields,date:t.date,time:t.time,index:n,"transaction-type":t.transactionType,"destination-allowed-types":t.destinationAllowedTypes,"source-allowed-types":t.sourceAllowedTypes,"allow-switch":!1,"submitted-transaction":t.submittedTransaction},on:{"uploaded-attachments":function(e){return t.uploadedAttachment(e)},"set-marker-location":function(e){return t.storeLocation(e)},"set-account":function(e){return t.storeAccountValue(e)},"set-date":function(e){return t.storeDate(e)},"set-time":function(e){return t.storeTime(e)},"set-field":function(e){return t.storeField(e)},"remove-transaction":function(e){return t.removeTransaction(e)},"selected-attachments":function(e){return t.selectedAttachments(e)}}})})),1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[t.transactions.length>1?a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionGroupTitle",{attrs:{errors:this.groupTitleErrors},on:{"set-group-title":function(e){return t.storeGroupTitle(e)}},model:{value:this.groupTitle,callback:function(e){t.$set(this,"groupTitle",e)},expression:"this.groupTitle"}})],1)])])]):t._e()]),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-outline-primary btn-block",on:{click:t.addTransaction}},[a("i",{staticClass:"far fa-clone"}),t._v(" "+t._s(t.$t("firefly.add_another_split"))+"\n ")])]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),a("button",{staticClass:"btn btn-info btn-block",attrs:{disabled:!t.enableSubmit},on:{click:t.submitTransaction}},[t.enableSubmit?a("span",[a("i",{staticClass:"far fa-save"}),t._v(" "+t._s(t.$t("firefly.update_transaction")))]):t._e(),t._v(" "),t.enableSubmit?t._e():a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t._v("\n  \n ")]),t._v(" "),a("div",{staticClass:"col"},[a("div",{staticClass:"form-check"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.stayHere,expression:"stayHere"}],staticClass:"form-check-input",attrs:{id:"stayHere",type:"checkbox"},domProps:{checked:Array.isArray(t.stayHere)?t._i(t.stayHere,null)>-1:t.stayHere},on:{change:function(e){var a=t.stayHere,n=e.target,s=!!n.checked;if(Array.isArray(a)){var i=t._i(a,null);n.checked?i<0&&(t.stayHere=a.concat([null])):i>-1&&(t.stayHere=a.slice(0,i).concat(a.slice(i+1)))}else t.stayHere=s}}}),t._v(" "),a("label",{staticClass:"form-check-label",attrs:{for:"stayHere"}},[a("span",{staticClass:"small"},[t._v(t._s(t.$t("firefly.after_update_create_another")))])])])])])])])])])],1)}),[],!1,null,"17cb1c2b",null).exports;var p=a(7760),g=a.n(p);a(232),g().config.productionTip=!1;var h=a(157),m={};new(g())({i18n:h,store:n.Z,render:function(t){return t(_,{props:m})},beforeCreate:function(){this.$store.commit("initialiseStore"),this.$store.dispatch("updateCurrencyPreference")}}).$mount("#transactions_edit")},6665:(t,e,a)=>{"use strict";a.r(e),a.d(e,{default:()=>r});var n=a(4015),s=a.n(n),i=a(3645),o=a.n(i)()(s());o.push([t.id,".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}","",{version:3,sources:["webpack://./src/components/transactions/TransactionTags.vue"],names:[],mappings:"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA",sourcesContent:['\x3c!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n --\x3e\n\n<template>\n <div class="form-group">\n <div class="text-xs d-none d-lg-block d-xl-block">\n {{ $t(\'firefly.tags\') }}\n </div>\n <div class="input-group">\n <vue-tags-input\n v-model="currentTag"\n :add-only-from-autocomplete="false"\n :autocomplete-items="autocompleteItems"\n :tags="tags"\n :title="$t(\'firefly.tags\')"\n v-bind:placeholder="$t(\'firefly.tags\')"\n @tags-changed="newTags => this.tags = newTags"\n />\n </div>\n <span v-if="errors.length > 0">\n <span v-for="error in errors" class="text-danger small">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from "@johmun/vue-tags-input";\nimport axios from "axios";\n\nexport default {\n name: "TransactionTags",\n components: {\n VueTagsInput\n },\n props: [\'value\', \'index\', \'errors\'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: \'\',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n \'currentTag\': \'initItems\',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log(\'watch tagList\');\n if (true === this.emitEvent) {\n this.$emit(\'set-field\', {field: \'tags\', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName(\'base\')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn(\'Oh. Something went wrong loading tags.\'));\n }, 300);\n },\n },\n\n\n}\n<\/script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n'],sourceRoot:""}]);const r=o},3324:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"Alert",props:["message","type"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.message.length>0?a("div",{class:"alert alert-"+t.type+" alert-dismissible"},[a("button",{staticClass:"close",attrs:{"aria-hidden":"true","data-dismiss":"alert",type:"button"}},[t._v("×")]),t._v(" "),a("h5",["danger"===t.type?a("i",{staticClass:"icon fas fa-ban"}):t._e(),t._v(" "),"success"===t.type?a("i",{staticClass:"icon fas fa-thumbs-up"}):t._e(),t._v(" "),"danger"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_error")))]):t._e(),t._v(" "),"success"===t.type?a("span",[t._v(t._s(t.$t("firefly.flash_success")))]):t._e()]),t._v(" "),a("span",{domProps:{innerHTML:t._s(t.message)}})]):t._e()}),[],!1,null,null,null).exports},3044:(t,e,a)=>{"use strict";a.d(e,{Z:()=>at});var n=a(662),s=a(6486);const i={props:["index","value","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionDescription",data:function(){return{descriptions:[],initialSet:[],description:this.value}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},methods:{clearDescription:function(){this.description=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.descriptions=e.data}))}),300)},watch:{value:function(t){this.description=t},description:function(t){this.$emit("set-field",{field:"description",index:this.index,value:t})}}};var o=a(1900);const r=(0,o.Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.description"),serializer:function(t){return t.description},showOnFocus:!0,autofocus:"",inputName:"description[]"},on:{input:t.lookupDescription},model:{value:t.description,callback:function(e){t.description=e},expression:"description"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const c={props:["index","errors","date","time"],name:"TransactionDate",created:function(){this.timeZone=Intl.DateTimeFormat().resolvedOptions().timeZone},data:function(){return{localDate:this.date,localTime:this.time,timeZone:"",timeString:""}},methods:{},computed:{dateStr:{get:function(){return this.localDate instanceof Date&&!isNaN(this.localDate)?this.localDate.toISOString().split("T")[0]:""},set:function(t){if(""===t)return this.localDate=new Date,void this.$emit("set-date",{date:this.localDate});this.localDate=new Date(t),this.$emit("set-date",{date:this.localDate})}},timeStr:{get:function(){return this.localTime instanceof Date&&!isNaN(this.localTime)?("0"+this.localTime.getHours()).slice(-2)+":"+("0"+this.localTime.getMinutes()).slice(-2)+":"+("0"+this.localTime.getSeconds()).slice(-2):""},set:function(t){var e,a,n;if(""===t)return this.localTime.setHours(0),this.localTime.setMinutes(0),this.localTime.setSeconds(0),void this.$emit("set-time",{time:this.localTime});var s=new Date(this.localTime.getTime()),i=t.split(":"),o=null!==(e=i[0])&&void 0!==e?e:"0",r=null!==(a=i[1])&&void 0!==a?a:"0",c=null!==(n=i[2])&&void 0!==n?n:"0";o=3===o.length?o.substr(1,2):o,r=3===r.length?r.substr(1,2):r,c=3===c.length?c.substr(1,2):c,s.setHours(parseInt(o)),s.setMinutes(parseInt(r)),s.setSeconds(parseInt(c)),this.localTime=s,this.$emit("set-time",{time:this.localTime})}}}};const l=(0,o.Z)(c,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.date_and_time"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.dateStr,expression:"dateStr"}],ref:"date",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.dateStr,title:t.$t("firefly.date"),autocomplete:"off",name:"date[]",type:"date"},domProps:{value:t.dateStr},on:{input:function(e){e.target.composing||(t.dateStr=e.target.value)}}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.timeStr,expression:"timeStr"}],ref:"time",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{disabled:t.index>0,placeholder:t.timeStr,title:t.$t("firefly.time"),autocomplete:"off",name:"time[]",type:"time"},domProps:{value:t.timeStr},on:{input:function(e){e.target.composing||(t.timeStr=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e(),t._v(" "),""!==t.timeZone?a("span",{staticClass:"text-muted small"},[t._v(t._s(t.timeZone))]):t._e()])}),[],!1,null,null,null).exports;const u={props:["index","value","errors"],name:"TransactionBudget",data:function(){return{budgetList:[],budget:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.budgetList.push({id:0,name:this.$t("firefly.no_budget")}),this.getBudgets()},getBudgets:function(){var t=this;axios.get("./api/v1/budgets").then((function(e){t.parseBudgets(e.data)}))},parseBudgets:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];if(!a.attributes.active)continue;this.budgetList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.budget=t},budget:function(t){this.$emit("set-field",{field:"budget_id",index:this.index,value:t})}}};const d=(0,o.Z)(u,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.budget"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.budget,expression:"budget"}],ref:"budget",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.budget"),autocomplete:"off",name:"budget_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.budget=e.target.multiple?a:a[0]}}},t._l(this.budgetList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const _={name:"TransactionAccount",components:{VueTypeaheadBootstrap:n.Z},props:{index:{type:Number},direction:{type:String},value:{type:Object,default:function(){return{}}},errors:{type:Array,default:function(){return[]}},sourceAllowedTypes:{type:Array,default:function(){return[]}},destinationAllowedTypes:{type:Array,default:function(){return[]}},allowedOpposingTypes:{type:Object,default:function(){return{}}},transactionType:{type:String,default:"any"}},data:function(){return{query:"",accounts:[],accountTypes:[],initialSet:[],selectedAccount:{},account:this.value,accountName:"",selectedAccountTrigger:!1}},created:function(){var t;this.selectedAccountTrigger=!0,this.accountName=null!==(t=this.account.name)&&void 0!==t?t:"",this.createInitialSet()},methods:{getACURL:function(t,e){return"./api/v1/autocomplete/accounts?types="+t.join(",")+"&query="+e},clearAccount:function(){this.accounts=this.initialSet,this.account={name:"",type:"no_type",id:null,currency_id:null,currency_code:null,currency_symbol:null},this.accountName=""},lookupAccount:(0,s.debounce)((function(){var t=this;0===this.accountTypes.length&&(this.accountTypes="source"===this.direction?this.sourceAllowedTypes:this.destinationAllowedTypes),axios.get(this.getACURL(this.accountTypes,this.accountName)).then((function(e){t.accounts=e.data}))}),300),createInitialSet:function(){var t=this,e=this.sourceAllowedTypes;"destination"===this.direction&&(e=this.destinationAllowedTypes),axios.get(this.getACURL(e,"")).then((function(e){t.accounts=e.data,t.initialSet=e.data}))}},watch:{sourceAllowedTypes:function(t){this.createInitialSet()},destinationAllowedTypes:function(t){this.createInitialSet()},selectedAccount:function(t){this.selectedAccountTrigger=!0,this.account=t,this.$emit("set-account",{index:this.index,direction:this.direction,id:t.id,type:t.type,name:t.name,currency_id:t.currency_id,currency_code:t.currency_code,currency_symbol:t.currency_symbol}),this.accountName=this.account.name_with_balance},accountName:function(t){!1===this.selectedAccountTrigger&&(this.$emit("set-account",{index:this.index,direction:this.direction,id:null,type:null,name:t,currency_id:null,currency_code:null,currency_symbol:null}),this.accountTrigger=!1,this.account={name:t,type:null,id:null,currency_id:null,currency_code:null,currency_symbol:null}),this.selectedAccountTrigger=!1},account:function(t){var e=[],a=t.type?t.type:"no_type";void 0!==this.allowedOpposingTypes[this.direction]&&void 0!==this.allowedOpposingTypes[this.direction][a]&&(e=this.allowedOpposingTypes[this.direction][a]),"source"===this.direction&&this.$emit("set-dest-types",e),"destination"===this.direction&&this.$emit("set-src-types",e)},value:function(t){var e;this.account=t,this.selectedAccountTrigger=!0,this.accountName=null!==(e=t.name)&&void 0!==e?e:""}},computed:{accountKey:{get:function(){return"source"===this.direction?"source_account":"destination_account"}},visible:{get:function(){return 0===this.index||("source"===this.direction?"any"===this.transactionType||"Deposit"===this.transactionType||void 0===this.transactionType:"destination"===this.direction&&("any"===this.transactionType||"Withdrawal"===this.transactionType||void 0===this.transactionType))}}}};const p=(0,o.Z)(_,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[t.visible?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[0===this.index?a("span",[t._v(t._s(t.$t("firefly."+this.direction+"_account")))]):t._e(),t._v(" "),this.index>0?a("span",{staticClass:"text-warning"},[t._v(t._s(t.$t("firefly.first_split_overrules_"+this.direction)))]):t._e()]):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n  \n ")]),t._v(" "),t.visible?a("vue-typeahead-bootstrap",{attrs:{data:t.accounts,inputClass:t.errors.length>0?"is-invalid":"",inputName:t.direction+"[]",minMatchingChars:3,placeholder:t.$t("firefly."+t.direction+"_account"),serializer:function(t){return t.name_with_balance},showOnFocus:!0},on:{hit:function(e){t.selectedAccount=e},input:t.lookupAccount},scopedSlots:t._u([{key:"suggestion",fn:function(e){var n=e.data,s=e.htmlText;return[a("div",{staticClass:"d-flex",attrs:{title:n.type}},[a("span",{domProps:{innerHTML:t._s(s)}}),a("br")])]}}],null,!1,1423807661),model:{value:t.accountName,callback:function(e){t.accountName=e},expression:"accountName"}},[t._v(" "),a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearAccount}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2):t._e(),t._v(" "),t.visible?t._e():a("div",{staticClass:"form-control-static"},[a("span",{staticClass:"small text-muted"},[a("em",[t._v(t._s(t.$t("firefly.first_split_decides")))])])]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const g={name:"SwitchAccount",props:["index","transactionType"],methods:{switchAccounts:function(){this.$emit("switch-accounts",this.index)}}};const h=(0,o.Z)(g,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},["any"!==this.transactionType?a("span",{staticClass:"text-muted"},[t._v("\n "+t._s(t.$t("firefly."+this.transactionType))+"\n ")]):t._e(),t._v(" "),"any"===this.transactionType?a("span",{staticClass:"text-muted"},[t._v(" ")]):t._e()]),t._v(" "),a("div",{staticClass:"btn-group d-flex"},[a("button",{staticClass:"btn btn-light",on:{click:t.switchAccounts}},[t._v("↔")])])])}),[],!1,null,"376bca8c",null).exports;const m={name:"TransactionAmount",props:{index:{type:Number,default:0,required:!0},errors:{},amount:{},transactionType:{},sourceCurrencySymbol:{},destinationCurrencySymbol:{},fractionDigits:{default:2,required:!1}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.transactionAmount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},data:function(){return{transactionAmount:this.amount,currencySymbol:null,srcCurrencySymbol:this.sourceCurrencySymbol,dstCurrencySymbol:this.destinationCurrencySymbol,emitEvent:!0}},watch:{transactionAmount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"amount",index:this.index,value:t}),this.emitEvent=!0},amount:function(t){this.transactionAmount=t},sourceCurrencySymbol:function(t){this.srcCurrencySymbol=t},destinationCurrencySymbol:function(t){this.dstCurrencySymbol=t},transactionType:function(t){switch(t){case"Transfer":case"Withdrawal":this.currencySymbol=this.srcCurrencySymbol;break;case"Deposit":this.currencySymbol=this.dstCurrencySymbol}}}};const f=(0,o.Z)(m,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("firefly.amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[t.currencySymbol?a("div",{staticClass:"input-group-prepend"},[a("div",{staticClass:"input-group-text"},[t._v(t._s(t.currencySymbol))])]):t._e(),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.transactionAmount,expression:"transactionAmount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.amount"),title:t.$t("firefly.amount"),autocomplete:"off",name:"amount[]",type:"number"},domProps:{value:t.transactionAmount},on:{input:function(e){e.target.composing||(t.transactionAmount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,"fadf3e90",null).exports;const y={name:"TransactionForeignAmount",props:{index:{},errors:{},value:{},transactionType:{},sourceCurrencyId:{},destinationCurrencyId:{},fractionDigits:{type:Number,default:2}},data:function(){return{amount:this.value,emitEvent:!0}},created:function(){""!==this.amount&&(this.emitEvent=!1,this.amount=this.formatNumber(this.amount))},methods:{formatNumber:function(t){return parseFloat(t).toFixed(this.fractionDigits)}},watch:{amount:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"foreign_amount",index:this.index,value:t}),this.emitEvent=!0},value:function(t){this.amount=t}},computed:{isVisible:{get:function(){return!("Transfer"===this.transactionType&&this.sourceCurrencyId===this.destinationCurrencyId)}}}};const v=(0,o.Z)(y,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(t._s(t.$t("form.foreign_amount")))]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.amount,expression:"amount"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("form.foreign_amount"),title:t.$t("form.foreign_amount"),autocomplete:"off",name:"foreign_amount[]",type:"number"},domProps:{value:t.amount},on:{input:function(e){e.target.composing||(t.amount=e.target.value)}}})]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()]):t._e()}),[],!1,null,"d13f8bea",null).exports;const b={name:"TransactionForeignCurrency",props:["index","transactionType","sourceCurrencyId","destinationCurrencyId","selectedCurrencyId","value"],data:function(){return{selectedCurrency:this.value,allCurrencies:[],selectableCurrencies:[],dstCurrencyId:this.destinationCurrencyId,srcCurrencyId:this.sourceCurrencyId,lockedCurrency:0,emitEvent:!0}},watch:{value:function(t){this.selectedCurrency=t},sourceCurrencyId:function(t){this.srcCurrencyId=t},destinationCurrencyId:function(t){this.dstCurrencyId=t},selectedCurrency:function(t){this.$emit("set-field",{field:"foreign_currency_id",index:this.index,value:t})},transactionType:function(t){this.lockedCurrency=0,"Transfer"===t&&(this.lockedCurrency=this.dstCurrencyId,this.selectedCurrency=this.dstCurrencyId),this.filterCurrencies()}},created:function(){this.getAllCurrencies()},methods:{getAllCurrencies:function(){var t=this;axios.get("./api/v1/autocomplete/currencies").then((function(e){t.allCurrencies=e.data,t.filterCurrencies()}))},filterCurrencies:function(){if(0===this.lockedCurrency){for(var t in this.selectableCurrencies=[{id:0,name:this.$t("firefly.no_currency")}],this.allCurrencies)if(this.allCurrencies.hasOwnProperty(t)&&/^0$|^[1-9]\d*$/.test(t)&&t<=4294967294){var e=this.allCurrencies[t];this.selectableCurrencies.push(e)}}else for(var a in this.allCurrencies)if(this.allCurrencies.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.allCurrencies[a];n.id===this.lockedCurrency&&(this.selectableCurrencies=[n],this.selectedCurrency=n.id)}}},computed:{isVisible:function(){return!("Transfer"===this.transactionType&&this.srcCurrencyId===this.dstCurrencyId)}}};const k=(0,o.Z)(b,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.isVisible?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs"},[t._v(" ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.selectedCurrency,expression:"selectedCurrency"}],staticClass:"form-control",attrs:{name:"foreign_currency_id[]"},on:{change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.selectedCurrency=e.target.multiple?a:a[0]}}},t._l(t.selectableCurrencies,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)])]):t._e()}),[],!1,null,"3ee4efa5",null).exports;const w={name:"TransactionCustomDates",props:["index","errors","customFields","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate"],data:function(){return{dateFields:["interest_date","book_date","process_date","due_date","payment_date","invoice_date"],availableFields:this.customFields,dates:{interest_date:this.interestDate,book_date:this.bookDate,process_date:this.processDate,due_date:this.dueDate,payment_date:this.paymentDate,invoice_date:this.invoiceDate}}},watch:{customFields:function(t){this.availableFields=t},interestDate:function(t){this.dates.interest_date=t},bookDate:function(t){this.dates.book_date=t},processDate:function(t){this.dates.process_date=t},dueDate:function(t){this.dates.due_date=t},paymentDate:function(t){this.dates.payment_date=t},invoiceDate:function(t){this.dates.invoice_date=t}},methods:{isDateField:function(t){return this.dateFields.includes(t)},getFieldValue:function(t){var e;return null!==(e=this.dates[t])&&void 0!==e?e:""},setFieldValue:function(t,e){this.$emit("set-field",{field:e,index:this.index,value:t.target.value})}}};const x=(0,o.Z)(w,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",t._l(t.availableFields,(function(e,n){return a("div",{staticClass:"form-group"},[e&&t.isDateField(n)?a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("form."+n))+"\n ")]):t._e(),t._v(" "),e&&t.isDateField(n)?a("div",{staticClass:"input-group"},[a("input",{ref:n,refInFor:!0,staticClass:"form-control",attrs:{name:n+"[]",placeholder:t.$t("form."+n),title:t.$t("form."+n),autocomplete:"off",type:"date"},domProps:{value:t.getFieldValue(n)},on:{change:function(e){return t.setFieldValue(e,n)},submit:function(t){t.preventDefault()}}})]):t._e()])})),0)}),[],!1,null,null,null).exports;const T={props:["value","index","errors"],components:{VueTypeaheadBootstrap:n.Z},name:"TransactionCategory",data:function(){return{categories:[],initialSet:[],category:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.categories=e.data,t.initialSet=e.data}))},methods:{clearCategory:function(){this.category=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/categories?query="+t},lookupCategory:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.value)).then((function(e){t.categories=e.data}))}),300)},watch:{value:function(t){this.emitEvent=!1,this.category=null!=t?t:""},category:function(t){this.$emit("set-field",{field:"category",index:this.index,value:t})}},computed:{selectedCategory:{get:function(){return this.categories[this.index].name},set:function(t){this.category=t.name}}}};const C=(0,o.Z)(T,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.category"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.categories,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.category"),serializer:function(t){return t.name},showOnFocus:!0,inputName:"category[]"},on:{hit:function(e){t.selectedCategory=e},input:t.lookupCategory},model:{value:t.category,callback:function(e){t.category=e},expression:"category"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearCategory}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,null,null).exports;const D={props:["value","index","errors"],name:"TransactionBill",data:function(){return{billList:[],bill:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.billList.push({id:0,name:this.$t("firefly.no_bill")}),this.getBills()},getBills:function(){var t=this;axios.get("./api/v1/bills").then((function(e){t.parseBills(e.data)}))},parseBills:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e];this.billList.push({id:parseInt(a.id),name:a.attributes.name})}}},watch:{value:function(t){this.emitEvent=!1,this.bill=t},bill:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"bill_id",index:this.index,value:t}),this.emitEvent=!0}}};const A=(0,o.Z)(D,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.bill"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.bill,expression:"bill"}],ref:"bill",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.bill"),autocomplete:"off",name:"bill_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.bill=e.target.multiple?a:a[0]}}},t._l(this.billList,(function(e){return a("option",{attrs:{label:e.name},domProps:{value:e.id}},[t._v(t._s(e.name))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;var S=a(1310),z=a.n(S),I=a(9669),j=a.n(I);const P={name:"TransactionTags",components:{VueTagsInput:z()},props:["value","index","errors"],data:function(){return{autocompleteItems:[],debounce:null,tags:[],currentTag:"",updateTags:!0,tagList:this.value,emitEvent:!0}},created:function(){var t=[];for(var e in this.value)this.value.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&t.push({text:this.value[e]});this.updateTags=!1,this.tags=t},watch:{currentTag:"initItems",value:function(t){this.emitEvent=!1,this.tagList=t},tagList:function(t){console.log("watch tagList"),!0===this.emitEvent&&this.$emit("set-field",{field:"tags",index:this.index,value:t}),this.emitEvent=!0,this.updateTags=!1,this.tags=t},tags:function(t){if(this.updateTags){var e=[];for(var a in t)t.hasOwnProperty(a)&&e.push({text:t[a].text});this.tagList=e}this.updateTags=!0}},methods:{initItems:function(){var t=this;if(!(this.currentTag.length<2)){var e=document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/tags?query=".concat(this.currentTag);clearTimeout(this.debounce),this.debounce=setTimeout((function(){j().get(e).then((function(e){t.autocompleteItems=e.data.map((function(t){return{text:t.tag}}))})).catch((function(){return console.warn("Oh. Something went wrong loading tags.")}))}),300)}}}};a(4936);const $=(0,o.Z)(P,(function(){var t=this,e=this,a=e.$createElement,n=e._self._c||a;return n("div",{staticClass:"form-group"},[n("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[e._v("\n "+e._s(e.$t("firefly.tags"))+"\n ")]),e._v(" "),n("div",{staticClass:"input-group"},[n("vue-tags-input",{attrs:{"add-only-from-autocomplete":!1,"autocomplete-items":e.autocompleteItems,tags:e.tags,title:e.$t("firefly.tags"),placeholder:e.$t("firefly.tags")},on:{"tags-changed":function(e){return t.tags=e}},model:{value:e.currentTag,callback:function(t){e.currentTag=t},expression:"currentTag"}})],1),e._v(" "),e.errors.length>0?n("span",e._l(e.errors,(function(t){return n("span",{staticClass:"text-danger small"},[e._v(e._s(t)),n("br")])})),0):e._e()])}),[],!1,null,null,null).exports;const F={props:["index","value","errors"],name:"TransactionPiggyBank",data:function(){return{piggyList:[],piggy_bank_id:this.value,emitEvent:!0}},created:function(){this.collectData()},methods:{collectData:function(){this.piggyList.push({id:0,name_with_balance:this.$t("firefly.no_piggy_bank")}),this.getPiggies()},getPiggies:function(){var t=this;axios.get("./api/v1/autocomplete/piggy-banks-with-balance").then((function(e){t.parsePiggies(e.data)}))},parsePiggies:function(t){for(var e in t)if(t.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t[e];this.piggyList.push({id:parseInt(a.id),name_with_balance:a.name_with_balance})}}},watch:{value:function(t){this.emitEvent=!1,this.piggy_bank_id=t},piggy_bank_id:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"piggy_bank_id",index:this.index,value:t}),this.emitEvent=!0}}};const B=(0,o.Z)(F,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.piggy_bank"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("select",{directives:[{name:"model",rawName:"v-model",value:t.piggy_bank_id,expression:"piggy_bank_id"}],ref:"piggy_bank_id",class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{title:t.$t("firefly.piggy_bank"),autocomplete:"off",name:"piggy_bank_id[]"},on:{submit:function(t){t.preventDefault()},change:function(e){var a=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.piggy_bank_id=e.target.multiple?a:a[0]}}},t._l(this.piggyList,(function(e){return a("option",{attrs:{label:e.name_with_balance},domProps:{value:e.id}},[t._v(t._s(e.name_with_balance))])})),0)]),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()])}),[],!1,null,null,null).exports;const E={props:["index","value","errors","customFields"],name:"TransactionInternalReference",data:function(){return{reference:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"internal_reference"in this.availableFields&&this.availableFields.internal_reference}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.emitEvent=!1,this.reference=t},reference:function(t){this.$emit("set-field",{field:"internal_reference",index:this.index,value:t})}}};const R=(0,o.Z)(E,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.internal_reference"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.reference,expression:"reference"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.internal_reference"),name:"internal_reference[]",type:"text"},domProps:{value:t.reference},on:{input:function(e){e.target.composing||(t.reference=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,null,null).exports;const L={props:["index","value","errors","customFields"],name:"TransactionExternalUrl",data:function(){return{url:this.value,availableFields:this.customFields}},computed:{showField:function(){return"external_uri"in this.availableFields&&this.availableFields.external_uri}},methods:{},watch:{customFields:function(t){this.availableFields=t},value:function(t){this.url=t},url:function(t){this.$emit("set-field",{field:"external_url",index:this.index,value:t})}}};const N=(0,o.Z)(L,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.external_url"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.url,expression:"url"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.external_url"),name:"external_url[]",type:"url"},domProps:{value:t.url},on:{input:function(e){e.target.composing||(t.url=e.target.value)}}}),t._v(" "),t._m(0)])]):t._e()}),[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"input-group-append"},[e("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"}},[e("i",{staticClass:"far fa-trash-alt"})])])}],!1,null,"7f6746e6",null).exports;const O={props:["index","value","errors","customFields"],name:"TransactionNotes",data:function(){return{notes:this.value,availableFields:this.customFields,emitEvent:!0}},computed:{showField:function(){return"notes"in this.availableFields&&this.availableFields.notes}},watch:{value:function(t){this.emitEvent=!1,this.notes=t},customFields:function(t){this.availableFields=t},notes:function(t){!0===this.emitEvent&&this.$emit("set-field",{field:"notes",index:this.index,value:t}),this.emitEvent=!0}}};const M=(0,o.Z)(O,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.notes"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.notes,expression:"notes"}],class:t.errors.length>0?"form-control is-invalid":"form-control",attrs:{placeholder:t.$t("firefly.notes")},domProps:{value:t.notes},on:{input:function(e){e.target.composing||(t.notes=e.target.value)}}})])]):t._e()}),[],!1,null,"10b3ae7a",null).exports;var U=a(3465);const G={props:["index","value","errors","customFields"],name:"TransactionLinks",data:function(){return{searchResults:[],include:[],locale:"en-US",linkTypes:[],query:"",searching:!1,links:this.value,availableFields:this.customFields,emitEvent:!0}},created:function(){var t;this.locale=null!==(t=localStorage.locale)&&void 0!==t?t:"en-US",this.emitEvent=!1,this.links=U(this.value),this.getLinkTypes()},computed:{showField:function(){return"links"in this.availableFields&&this.availableFields.links}},watch:{value:function(t){null!==t&&(this.emitEvent=!1,this.links=U(t))},links:function(t){!0===this.emitEvent&&this.$emit("set-field",{index:this.index,field:"links",value:U(t)}),this.emitEvent=!0},customFields:function(t){this.availableFields=t}},methods:{removeLink:function(t){this.links.splice(t,1)},getTextForLinkType:function(t){var e=t.split("-");for(var a in this.linkTypes)if(this.linkTypes.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.linkTypes[a];if(e[0]===n.id&&e[1]===n.direction)return n.type}return"text for #"+t},selectTransaction:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];a.selected&&this.addToSelected(a),a.selected||this.removeFromSelected(a)}},selectLinkType:function(t){for(var e in this.searchResults)if(this.searchResults.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.searchResults[e];this.updateSelected(a.transaction_journal_id,a.link_type_id)}},updateSelected:function(t,e){for(var a in this.links)if(this.links.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=this.links[a];parseInt(n.transaction_journal_id)===t&&(this.links[a].link_type_id=e)}},addToSelected:function(t){void 0===this.links.find((function(e){return e.transaction_journal_id===t.transaction_journal_id}))&&this.links.push(t)},removeFromSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)this.links[e].transaction_journal_id===t.transaction_journal_id&&this.links.splice(parseInt(e),1)}},getLinkTypes:function(){var t=this;axios.get("./api/v1/link_types").then((function(e){t.parseLinkTypes(e.data)}))},resetModal:function(){this.search()},parseLinkTypes:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=t.data[e],n={id:a.id,type:a.attributes.inward,direction:"inward"},s={id:a.id,type:a.attributes.outward,direction:"outward"};n.type===s.type&&(n.type=n.type+" (←)",s.type=s.type+" (→)"),this.linkTypes.push(n),this.linkTypes.push(s)}},search:function(){var t=this;if(""!==this.query){this.searching=!0,this.searchResults=[];var e="./api/v1/search/transactions?limit=10&query="+this.query;axios.get(e).then((function(e){t.parseSearch(e.data)}))}else this.searchResults=[]},parseSearch:function(t){for(var e in t.data)if(t.data.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)for(var a in t.data[e].attributes.transactions)if(t.data[e].attributes.transactions.hasOwnProperty(a)&&/^0$|^[1-9]\d*$/.test(a)&&a<=4294967294){var n=t.data[e].attributes.transactions[a];n.transaction_group_id=parseInt(t.data[e].id),n.selected=this.isJournalSelected(n.transaction_journal_id),n.link_type_id=this.getJournalLinkType(n.transaction_journal_id),n.link_type_text="",this.searchResults.push(n)}this.searching=!1},getJournalLinkType:function(t){for(var e in this.links)if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294){var a=this.links[e];if(a.transaction_journal_id===t)return a.link_type_id}return"1-inward"},isJournalSelected:function(t){for(var e in this.links){if(this.links.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294)if(this.links[e].transaction_journal_id===t)return!0}return!1}}};const V=(0,o.Z)(G,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",[a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.journal_links"))+"\n ")]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[0===t.links.length?a("p",[a("button",{staticClass:"btn btn-default btn-xs",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"}),t._v(" Add transaction link")])]):t._e(),t._v(" "),t.links.length>0?a("ul",{staticClass:"list-group"},t._l(t.links,(function(e,n){return a("li",{key:n,staticClass:"list-group-item"},[a("em",[t._v(t._s(t.getTextForLinkType(e.link_type_id)))]),t._v(" "),a("a",{attrs:{href:"./transaction/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("div",{staticClass:"btn-group btn-group-xs float-right"},[a("button",{staticClass:"btn btn-xs btn-danger",attrs:{tabindex:"-1"},on:{click:function(e){return t.removeLink(n)}}},[a("i",{staticClass:"far fa-trash-alt"})])])])})),0):t._e(),t._v(" "),t.links.length>0?a("div",{staticClass:"form-text"},[a("button",{staticClass:"btn btn-default",attrs:{"data-target":"#linkModal","data-toggle":"modal"},on:{click:t.resetModal}},[a("i",{staticClass:"fas fa-plus"})])]):t._e()])])]),t._v(" "),a("div",{ref:"linkModal",staticClass:"modal",attrs:{id:"linkModal",tabindex:"-1"}},[a("div",{staticClass:"modal-dialog modal-lg"},[a("div",{staticClass:"modal-content"},[t._m(0),t._v(" "),a("div",{staticClass:"modal-body"},[a("div",{staticClass:"container-fluid"},[t._m(1),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("form",{on:{submit:function(e){return e.preventDefault(),t.search(e)}}},[a("div",{staticClass:"input-group"},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.query,expression:"query"}],staticClass:"form-control",attrs:{id:"query",autocomplete:"off",maxlength:"255",name:"search",placeholder:"Search query",type:"text"},domProps:{value:t.query},on:{input:function(e){e.target.composing||(t.query=e.target.value)}}}),t._v(" "),t._m(2)])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[t.searching?a("span",[a("i",{staticClass:"fas fa-spinner fa-spin"})]):t._e(),t._v(" "),t.searchResults.length>0?a("h4",[t._v(t._s(t.$t("firefly.search_results")))]):t._e(),t._v(" "),t.searchResults.length>0?a("table",{staticClass:"table table-sm"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("firefly.search_results")))]),t._v(" "),a("thead",[a("tr",[a("th",{staticStyle:{width:"33%"},attrs:{scope:"col",colspan:"2"}},[t._v(t._s(t.$t("firefly.include")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("firefly.transaction")))])])]),t._v(" "),a("tbody",t._l(t.searchResults,(function(e){return a("tr",[a("td",[a("input",{directives:[{name:"model",rawName:"v-model",value:e.selected,expression:"result.selected"}],staticClass:"form-control",attrs:{type:"checkbox"},domProps:{checked:Array.isArray(e.selected)?t._i(e.selected,null)>-1:e.selected},on:{change:[function(a){var n=e.selected,s=a.target,i=!!s.checked;if(Array.isArray(n)){var o=t._i(n,null);s.checked?o<0&&t.$set(e,"selected",n.concat([null])):o>-1&&t.$set(e,"selected",n.slice(0,o).concat(n.slice(o+1)))}else t.$set(e,"selected",i)},function(e){return t.selectTransaction(e)}]}})]),t._v(" "),a("td",[a("select",{directives:[{name:"model",rawName:"v-model",value:e.link_type_id,expression:"result.link_type_id"}],staticClass:"form-control",on:{change:[function(a){var n=Array.prototype.filter.call(a.target.options,(function(t){return t.selected})).map((function(t){return"_value"in t?t._value:t.value}));t.$set(e,"link_type_id",a.target.multiple?n:n[0])},function(e){return t.selectLinkType(e)}]}},t._l(t.linkTypes,(function(e){return a("option",{attrs:{label:e.type},domProps:{value:e.id+"-"+e.direction}},[t._v(t._s(e.type)+"\n ")])})),0)]),t._v(" "),a("td",[a("a",{attrs:{href:"./transactions/show/"+e.transaction_group_id}},[t._v(t._s(e.description))]),t._v(" "),"withdrawal"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-danger"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(-1*parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"deposit"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-success"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),"transfer"===e.type?a("span",[t._v("\n ("),a("span",{staticClass:"text-info"},[t._v(t._s(Intl.NumberFormat(t.locale,{style:"currency",currency:e.currency_code}).format(parseFloat(e.amount))))]),t._v(")\n ")]):t._e(),t._v(" "),a("br"),t._v(" "),a("em",[a("a",{attrs:{href:"./accounts/show/"+e.source_id}},[t._v(t._s(e.source_name))]),t._v("\n →\n "),a("a",{attrs:{href:"./accounts/show/"+e.destination_id}},[t._v(t._s(e.destination_name))])])])])})),0)]):t._e()])])])]),t._v(" "),t._m(3)])])])]):t._e()}),[function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-header"},[a("h5",{staticClass:"modal-title"},[t._v("Transaction thing dialog.")]),t._v(" "),a("button",{staticClass:"close",attrs:{"aria-label":"Close","data-dismiss":"modal",type:"button"}},[a("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("p",[t._v("\n Use this form to search for transactions you wish to link to this one. When in doubt, use "),a("code",[t._v("id:*")]),t._v(" where the ID is the number from\n the URL.\n ")])])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[a("i",{staticClass:"fas fa-search"}),t._v(" Search")])])},function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"modal-footer"},[a("button",{staticClass:"btn btn-secondary",attrs:{"data-dismiss":"modal",type:"button"}},[t._v("Close")])])}],!1,null,null,null).exports;const Z={name:"TransactionAttachments",props:["transaction_journal_id","customFields"],data:function(){return{availableFields:this.customFields}},watch:{customFields:function(t){this.availableFields=t},transaction_journal_id:function(t){this.showField?0!==t&&this.doUpload():this.$emit("uploaded-attachments",t)}},computed:{showField:function(){return"attachments"in this.availableFields&&this.availableFields.attachments}},methods:{selectedFile:function(){this.$emit("selected-attachments",this.transaction_journal_id)},doUpload:function(){var t=this;for(var e in this.$refs.att.files)this.$refs.att.files.hasOwnProperty(e)&&/^0$|^[1-9]\d*$/.test(e)&&e<=4294967294&&function(){var a=t.$refs.att.files[e],n=new FileReader,s=t;n.onloadend=function(t){var e=this;if(t.target.readyState===FileReader.DONE){var n={filename:a.name,attachable_type:"TransactionJournal",attachable_id:s.transaction_journal_id};axios.post("./api/v1/attachments",n).then((function(a){var n="./api/v1/attachments/"+a.data.data.id+"/upload";axios.post(n,new Blob([t.target.result])).then((function(t){s.$emit("uploaded-attachments",e.transaction_journal_id)}))}))}},n.readAsArrayBuffer(a)}();0===this.$refs.att.files.length&&this.$emit("uploaded-attachments",this.transaction_journal_id)}}};const q=(0,o.Z)(Z,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.attachments"))+"\n ")]),t._v(" "),a("div",{staticClass:"input-group"},[a("input",{ref:"att",staticClass:"form-control",attrs:{multiple:"",name:"attachments[]",type:"file"},on:{change:t.selectedFile}})])]):t._e()}),[],!1,null,"c0a65b6c",null).exports;var W=a(7661),H=a(5352),K=a(2727),J=a(8380),Y=(a(5802),a(5243)),Q=a.n(Y);delete Q().Icon.Default.prototype._getIconUrl,Q().Icon.Default.mergeOptions({iconRetinaUrl:a(9895),iconUrl:a(3940),shadowUrl:a(4645)});const X={name:"TransactionLocation",props:{index:{},value:{type:Object,required:!1},errors:{},customFields:{}},components:{LMap:H.Z,LTileLayer:K.Z,LMarker:J.Z},created:function(){var t=this;null!==this.value&&void 0!==this.value?null!==this.value.zoom_level&&null!==this.value.latitude&&null!==this.value.longitude&&(this.zoom=this.value.zoom_level,this.center=[parseFloat(this.value.latitude),parseFloat(this.value.longitude)],this.hasMarker=!0):axios.get("./api/v1/configuration/firefly.default_location").then((function(e){t.zoom=parseInt(e.data.data.value.zoom_level),t.center=[parseFloat(e.data.data.value.latitude),parseFloat(e.data.data.value.longitude)]}))},data:function(){return{availableFields:this.customFields,url:"https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",zoom:3,center:[0,0],bounds:null,map:null,hasMarker:!1,marker:[0,0]}},methods:{prepMap:function(){this.map=this.$refs.myMap.mapObject,this.map.on("contextmenu",this.setObjectLocation),this.map.on("zoomend",this.saveZoomLevel)},setObjectLocation:function(t){this.marker=[t.latlng.lat,t.latlng.lng],this.hasMarker=!0,this.emitEvent()},saveZoomLevel:function(){this.emitEvent()},clearLocation:function(){this.hasMarker=!1,this.emitEvent()},emitEvent:function(){this.$emit("set-marker-location",{index:this.index,zoomLevel:this.zoom,lat:this.marker[0],lng:this.marker[1],hasMarker:this.hasMarker})},zoomUpdated:function(t){this.zoom=t},centerUpdated:function(t){this.center=t},boundsUpdated:function(t){this.bounds=t}},computed:{showField:function(){return"location"in this.availableFields&&this.availableFields.location}},watch:{customFields:function(t){this.availableFields=t}}};const tt=(0,o.Z)(X,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.showField?a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.location"))+"\n ")]),t._v(" "),a("div",{staticStyle:{width:"100%",height:"300px"}},[a("l-map",{ref:"myMap",staticStyle:{width:"100%",height:"300px"},attrs:{center:t.center,zoom:t.zoom},on:{ready:function(e){return t.prepMap()},"update:zoom":t.zoomUpdated,"update:center":t.centerUpdated,"update:bounds":t.boundsUpdated}},[a("l-tile-layer",{attrs:{url:t.url}}),t._v(" "),a("l-marker",{attrs:{"lat-lng":t.marker,visible:t.hasMarker}})],1),t._v(" "),a("span",[a("button",{staticClass:"btn btn-default btn-xs",on:{click:t.clearLocation}},[t._v(t._s(t.$t("firefly.clear_location")))])])],1),t._v(" "),a("p",[t._v(" ")])]):t._e()}),[],!1,null,"3bafa3c9",null).exports,et={name:"SplitForm",props:{transaction:{type:Object,required:!0},count:{type:Number,required:!1},customFields:{type:Object,required:!1},index:{type:Number,required:!0},date:{type:Date,required:!0},time:{type:Date,required:!0},transactionType:{type:String,required:!0},submittedTransaction:{type:Boolean,required:!1,default:!1},sourceAllowedTypes:{type:Array,required:!1,default:[]},destinationAllowedTypes:{type:Array,required:!1,default:[]},allowedOpposingTypes:{type:Object,required:!1,default:{}},allowSwitch:{type:Boolean,required:!1,default:!0}},methods:{removeTransaction:function(){this.$emit("remove-transaction",{index:this.index})}},computed:{splitDate:function(){return this.date},splitTime:function(){return this.time},sourceAccount:function(){return{id:this.transaction.source_account_id,name:this.transaction.source_account_name,type:this.transaction.source_account_type}},destinationAccount:function(){return{id:this.transaction.destination_account_id,name:this.transaction.destination_account_name,type:this.transaction.destination_account_type}},hasMetaFields:function(){var t=["internal_reference","notes","attachments","external_uri","location","links"];for(var e in this.customFields)if(this.customFields.hasOwnProperty(e)&&t.includes(e)&&!0===this.customFields[e])return!0;return!1}},components:{TransactionLocation:tt,SplitPills:W.Z,TransactionAttachments:q,TransactionNotes:M,TransactionExternalUrl:N,TransactionInternalReference:R,TransactionPiggyBank:B,TransactionTags:$,TransactionLinks:V,TransactionBill:A,TransactionCategory:C,TransactionCustomDates:x,TransactionForeignCurrency:k,TransactionForeignAmount:v,TransactionAmount:f,SwitchAccount:h,TransactionAccount:p,TransactionBudget:d,TransactionDescription:r,TransactionDate:l}};const at=(0,o.Z)(et,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{class:"tab-pane"+(0===t.index?" active":""),attrs:{id:"split_"+t.index}},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.basic_journal_information"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()]),t._v(" "),t.count>1?a("div",{staticClass:"card-tools"},[a("button",{staticClass:"btn btn-danger btn-xs",on:{click:t.removeTransaction}},[a("i",{staticClass:"fas fa-trash-alt"})])]):t._e()]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("TransactionDescription",t._g({attrs:{errors:t.transaction.errors.description,index:t.index},model:{value:t.transaction.description,callback:function(e){t.$set(t.transaction,"description",e)},expression:"transaction.description"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.source,index:t.index,"source-allowed-types":t.sourceAllowedTypes,"transaction-type":t.transactionType,direction:"source"},model:{value:t.sourceAccount,callback:function(e){t.sourceAccount=e},expression:"sourceAccount"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[0===t.index&&t.allowSwitch?a("SwitchAccount",t._g({attrs:{index:t.index,"transaction-type":t.transactionType}},t.$listeners)):t._e()],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAccount",t._g({attrs:{"allowed-opposing-types":t.allowedOpposingTypes,"destination-allowed-types":t.destinationAllowedTypes,errors:t.transaction.errors.destination,index:t.index,"transaction-type":t.transactionType,"source-allowed-types":t.sourceAllowedTypes,direction:"destination"},model:{value:t.destinationAccount,callback:function(e){t.destinationAccount=e},expression:"destinationAccount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12"},[a("TransactionAmount",t._g({attrs:{amount:t.transaction.amount,"destination-currency-symbol":this.transaction.destination_account_currency_symbol,errors:t.transaction.errors.amount,index:t.index,"source-currency-symbol":this.transaction.source_account_currency_symbol,"transaction-type":this.transactionType}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block"},[a("TransactionForeignCurrency",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_currency_id,callback:function(e){t.$set(t.transaction,"foreign_currency_id",e)},expression:"transaction.foreign_currency_id"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionForeignAmount",t._g({attrs:{"destination-currency-id":this.transaction.destination_account_currency_id,errors:t.transaction.errors.foreign_amount,index:t.index,"selected-currency-id":this.transaction.foreign_currency_id,"source-currency-id":this.transaction.source_account_currency_id,"transaction-type":this.transactionType},model:{value:t.transaction.foreign_amount,callback:function(e){t.$set(t.transaction,"foreign_amount",e)},expression:"transaction.foreign_amount"}},t.$listeners))],1)]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12"},[a("TransactionDate",t._g({attrs:{date:t.splitDate,errors:t.transaction.errors.date,index:t.index,time:t.splitTime}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2"},[a("TransactionCustomDates",t._g({attrs:{"book-date":t.transaction.book_date,"custom-fields":t.customFields,"due-date":t.transaction.due_date,errors:t.transaction.errors.custom_dates,index:t.index,"interest-date":t.transaction.interest_date,"invoice-date":t.transaction.invoice_date,"payment-date":t.transaction.payment_date,"process-date":t.transaction.process_date},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}}},t.$listeners))],1)])])])])]),t._v(" "),a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_meta"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBudget",t._g({attrs:{errors:t.transaction.errors.budget,index:t.index},model:{value:t.transaction.budget_id,callback:function(e){t.$set(t.transaction,"budget_id",e)},expression:"transaction.budget_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionCategory",t._g({attrs:{errors:t.transaction.errors.category,index:t.index},model:{value:t.transaction.category,callback:function(e){t.$set(t.transaction,"category",e)},expression:"transaction.category"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},["Transfer"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionBill",t._g({attrs:{errors:t.transaction.errors.bill,index:t.index},model:{value:t.transaction.bill_id,callback:function(e){t.$set(t.transaction,"bill_id",e)},expression:"transaction.bill_id"}},t.$listeners)):t._e(),t._v(" "),a("TransactionTags",t._g({attrs:{errors:t.transaction.errors.tags,index:t.index},model:{value:t.transaction.tags,callback:function(e){t.$set(t.transaction,"tags",e)},expression:"transaction.tags"}},t.$listeners)),t._v(" "),"Withdrawal"!==t.transactionType&&"Deposit"!==t.transactionType?a("TransactionPiggyBank",t._g({attrs:{errors:t.transaction.errors.piggy_bank,index:t.index},model:{value:t.transaction.piggy_bank_id,callback:function(e){t.$set(t.transaction,"piggy_bank_id",e)},expression:"transaction.piggy_bank_id"}},t.$listeners)):t._e()],1)])])])])]),t._v(" "),t.hasMetaFields?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("div",{staticClass:"card"},[a("div",{staticClass:"card-header"},[a("h3",{staticClass:"card-title"},[t._v("\n "+t._s(t.$t("firefly.transaction_journal_extra"))+"\n "),t.count>1?a("span",[t._v("("+t._s(t.index+1)+" / "+t._s(t.count)+") ")]):t._e()])]),t._v(" "),a("div",{staticClass:"card-body"},[a("div",{staticClass:"row"},[a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionInternalReference",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.internal_reference,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.internal_reference,callback:function(e){t.$set(t.transaction,"internal_reference",e)},expression:"transaction.internal_reference"}},t.$listeners)),t._v(" "),a("TransactionExternalUrl",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.external_url,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.external_url,callback:function(e){t.$set(t.transaction,"external_url",e)},expression:"transaction.external_url"}},t.$listeners)),t._v(" "),a("TransactionNotes",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.notes,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.notes,callback:function(e){t.$set(t.transaction,"notes",e)},expression:"transaction.notes"}},t.$listeners))],1),t._v(" "),a("div",{staticClass:"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12"},[a("TransactionAttachments",t._g({ref:"attachments",attrs:{"custom-fields":t.customFields,index:t.index,submitted_transaction:t.submittedTransaction,transaction_journal_id:t.transaction.transaction_journal_id},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.attachments,callback:function(e){t.$set(t.transaction,"attachments",e)},expression:"transaction.attachments"}},t.$listeners)),t._v(" "),a("TransactionLocation",t._g({attrs:{"custom-fields":t.customFields,errors:t.transaction.errors.location,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.location,callback:function(e){t.$set(t.transaction,"location",e)},expression:"transaction.location"}},t.$listeners)),t._v(" "),a("TransactionLinks",t._g({attrs:{"custom-fields":t.customFields,index:t.index},on:{"update:customFields":function(e){t.customFields=e},"update:custom-fields":function(e){t.customFields=e}},model:{value:t.transaction.links,callback:function(e){t.$set(t.transaction,"links",e)},expression:"transaction.links"}},t.$listeners))],1)])])])])]):t._e()])}),[],!1,null,null,null).exports},7661:(t,e,a)=>{"use strict";a.d(e,{Z:()=>s});const n={name:"SplitPills",props:["transactions"]};const s=(0,a(1900).Z)(n,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return t.transactions.length>1?a("div",{staticClass:"row"},[a("div",{staticClass:"col"},[a("ul",{staticClass:"nav nav-pills ml-auto p-2"},t._l(this.transactions,(function(e,n){return a("li",{staticClass:"nav-item"},[a("a",{class:"nav-link"+(0===n?" active":""),attrs:{href:"#split_"+n,"data-toggle":"tab"}},[""!==e.description?a("span",[t._v(t._s(e.description))]):t._e(),t._v(" "),""===e.description?a("span",[t._v("Split "+t._s(n+1))]):t._e()])])})),0)])]):t._e()}),[],!1,null,null,null).exports},5524:(t,e,a)=>{"use strict";a.d(e,{Z:()=>o});var n=a(662),s=a(6486);const i={props:["value","errors"],name:"TransactionGroupTitle",components:{VueTypeaheadBootstrap:n.Z},data:function(){return{descriptions:[],initialSet:[],title:this.value,emitEvent:!0}},created:function(){var t=this;axios.get(this.getACURL("")).then((function(e){t.descriptions=e.data,t.initialSet=e.data}))},watch:{value:function(t){this.title=t},title:function(t){this.$emit("set-group-title",t)}},methods:{clearDescription:function(){this.title=""},getACURL:function(t){return document.getElementsByTagName("base")[0].href+"api/v1/autocomplete/transactions?query="+t},lookupDescription:(0,s.debounce)((function(){var t=this;axios.get(this.getACURL(this.title)).then((function(e){t.descriptions=e.data}))}),300)}};const o=(0,a(1900).Z)(i,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"form-group"},[a("div",{staticClass:"text-xs d-none d-lg-block d-xl-block"},[t._v("\n "+t._s(t.$t("firefly.split_transaction_title"))+"\n ")]),t._v(" "),a("vue-typeahead-bootstrap",{attrs:{data:t.descriptions,inputClass:t.errors.length>0?"is-invalid":"",minMatchingChars:3,placeholder:t.$t("firefly.split_transaction_title"),serializer:function(t){return t.description},showOnFocus:!0,inputName:"group_title"},on:{input:t.lookupDescription},model:{value:t.title,callback:function(e){t.title=e},expression:"title"}},[a("template",{slot:"append"},[a("div",{staticClass:"input-group-append"},[a("button",{staticClass:"btn btn-outline-secondary",attrs:{tabindex:"-1",type:"button"},on:{click:t.clearDescription}},[a("i",{staticClass:"far fa-trash-alt"})])])])],2),t._v(" "),t.errors.length>0?a("span",t._l(t.errors,(function(e){return a("span",{staticClass:"text-danger small"},[t._v(t._s(e)),a("br")])})),0):t._e()],1)}),[],!1,null,"273271bf",null).exports},4936:(t,e,a)=>{var n=a(6665);n.__esModule&&(n=n.default),"string"==typeof n&&(n=[[t.id,n,""]]),n.locals&&(t.exports=n.locals);(0,a(5346).Z)("bf9ab7ac",n,!0,{})},7154:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Прехвърляне","Withdrawal":"Теглене","Deposit":"Депозит","date_and_time":"Date and time","no_currency":"(без валута)","date":"Дата","time":"Time","no_budget":"(без бюджет)","destination_account":"Приходна сметка","source_account":"Разходна сметка","single_split":"Раздел","create_new_transaction":"Create a new transaction","balance":"Салдо","transaction_journal_extra":"Extra information","transaction_journal_meta":"Мета информация","basic_journal_information":"Basic transaction information","bills_to_pay":"Сметки за плащане","left_to_spend":"Останали за харчене","attachments":"Прикачени файлове","net_worth":"Нетна стойност","bill":"Сметка","no_bill":"(няма сметка)","tags":"Етикети","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(без касичка)","paid":"Платени","notes":"Бележки","yourAccounts":"Вашите сметки","go_to_asset_accounts":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Převod","Withdrawal":"Výběr","Deposit":"Vklad","date_and_time":"Datum a čas","no_currency":"(žádná měna)","date":"Datum","time":"Čas","no_budget":"(žádný rozpočet)","destination_account":"Cílový účet","source_account":"Zdrojový účet","single_split":"Rozdělit","create_new_transaction":"Vytvořit novou transakci","balance":"Zůstatek","transaction_journal_extra":"Více informací","transaction_journal_meta":"Meta informace","basic_journal_information":"Basic transaction information","bills_to_pay":"Faktury k zaplacení","left_to_spend":"Zbývá k utracení","attachments":"Přílohy","net_worth":"Čisté jmění","bill":"Účet","no_bill":"(no bill)","tags":"Štítky","internal_reference":"Interní odkaz","external_url":"Externí URL adresa","no_piggy_bank":"(žádná pokladnička)","paid":"Zaplaceno","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobrazit účty s aktivy","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Umbuchung","Withdrawal":"Ausgabe","Deposit":"Einnahme","date_and_time":"Datum und Uhrzeit","no_currency":"(ohne Währung)","date":"Datum","time":"Uhrzeit","no_budget":"(kein Budget)","destination_account":"Zielkonto","source_account":"Quellkonto","single_split":"Teil","create_new_transaction":"Neue Buchung erstellen","balance":"Kontostand","transaction_journal_extra":"Zusätzliche Informationen","transaction_journal_meta":"Metainformationen","basic_journal_information":"Allgemeine Buchungsinformationen","bills_to_pay":"Unbezahlte Rechnungen","left_to_spend":"Verbleibend zum Ausgeben","attachments":"Anhänge","net_worth":"Eigenkapital","bill":"Rechnung","no_bill":"(keine Belege)","tags":"Schlagwörter","internal_reference":"Interner Verweis","external_url":"Externe URL","no_piggy_bank":"(kein Sparschwein)","paid":"Bezahlt","notes":"Notizen","yourAccounts":"Deine Konten","go_to_asset_accounts":"Bestandskonten anzeigen","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Μεταφορά","Withdrawal":"Ανάληψη","Deposit":"Κατάθεση","date_and_time":"Ημερομηνία και ώρα","no_currency":"(χωρίς νόμισμα)","date":"Ημερομηνία","time":"Ώρα","no_budget":"(χωρίς προϋπολογισμό)","destination_account":"Λογαριασμός προορισμού","source_account":"Λογαριασμός προέλευσης","single_split":"Διαχωρισμός","create_new_transaction":"Δημιουργία μιας νέας συναλλαγής","balance":"Ισοζύγιο","transaction_journal_extra":"Περισσότερες πληροφορίες","transaction_journal_meta":"Πληροφορίες μεταδεδομένων","basic_journal_information":"Βασικές πληροφορίες συναλλαγής","bills_to_pay":"Πάγια έξοδα προς πληρωμή","left_to_spend":"Διαθέσιμα προϋπολογισμών","attachments":"Συνημμένα","net_worth":"Καθαρή αξία","bill":"Πάγιο έξοδο","no_bill":"(χωρίς πάγιο έξοδο)","tags":"Ετικέτες","internal_reference":"Εσωτερική αναφορά","external_url":"Εξωτερικό URL","no_piggy_bank":"(χωρίς κουμπαρά)","paid":"Πληρωμένο","notes":"Σημειώσεις","yourAccounts":"Οι λογαριασμοί σας","go_to_asset_accounts":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Withdrawal","Deposit":"Deposit","date_and_time":"Date and time","no_currency":"(no currency)","date":"Date","time":"Time","no_budget":"(no budget)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Balance","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta information","basic_journal_information":"Basic transaction information","bills_to_pay":"Bills to pay","left_to_spend":"Left to spend","attachments":"Attachments","net_worth":"Net worth","bill":"Bill","no_bill":"(no bill)","tags":"Tags","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Paid","notes":"Notes","yourAccounts":"Your accounts","go_to_asset_accounts":"View your asset accounts","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferencia","Withdrawal":"Retiro","Deposit":"Depósito","date_and_time":"Fecha y hora","no_currency":"(sin moneda)","date":"Fecha","time":"Hora","no_budget":"(sin presupuesto)","destination_account":"Cuenta destino","source_account":"Cuenta origen","single_split":"División","create_new_transaction":"Crear una nueva transacción","balance":"Balance","transaction_journal_extra":"Información adicional","transaction_journal_meta":"Información Meta","basic_journal_information":"Información básica de transacción","bills_to_pay":"Facturas por pagar","left_to_spend":"Disponible para gastar","attachments":"Archivos adjuntos","net_worth":"Valor Neto","bill":"Factura","no_bill":"(sin factura)","tags":"Etiquetas","internal_reference":"Referencia interna","external_url":"URL externa","no_piggy_bank":"(sin hucha)","paid":"Pagado","notes":"Notas","yourAccounts":"Tus cuentas","go_to_asset_accounts":"Ver tus cuentas de activos","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Siirto","Withdrawal":"Nosto","Deposit":"Talletus","date_and_time":"Date and time","no_currency":"(ei valuuttaa)","date":"Päivämäärä","time":"Time","no_budget":"(ei budjettia)","destination_account":"Kohdetili","source_account":"Lähdetili","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metatiedot","basic_journal_information":"Basic transaction information","bills_to_pay":"Laskuja maksettavana","left_to_spend":"Käytettävissä","attachments":"Liitteet","net_worth":"Varallisuus","bill":"Lasku","no_bill":"(no bill)","tags":"Tägit","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(ei säästöpossu)","paid":"Maksettu","notes":"Muistiinpanot","yourAccounts":"Omat tilisi","go_to_asset_accounts":"Tarkastele omaisuustilejäsi","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfert","Withdrawal":"Dépense","Deposit":"Dépôt","date_and_time":"Date et heure","no_currency":"(pas de devise)","date":"Date","time":"Heure","no_budget":"(pas de budget)","destination_account":"Compte de destination","source_account":"Compte source","single_split":"Ventilation","create_new_transaction":"Créer une nouvelle opération","balance":"Solde","transaction_journal_extra":"Informations supplémentaires","transaction_journal_meta":"Méta informations","basic_journal_information":"Informations de base sur l\'opération","bills_to_pay":"Factures à payer","left_to_spend":"Reste à dépenser","attachments":"Pièces jointes","net_worth":"Avoir net","bill":"Facture","no_bill":"(aucune facture)","tags":"Tags","internal_reference":"Référence interne","external_url":"URL externe","no_piggy_bank":"(aucune tirelire)","paid":"Payé","notes":"Notes","yourAccounts":"Vos comptes","go_to_asset_accounts":"Afficher vos comptes d\'actifs","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Átvezetés","Withdrawal":"Költség","Deposit":"Bevétel","date_and_time":"Date and time","no_currency":"(nincs pénznem)","date":"Dátum","time":"Time","no_budget":"(nincs költségkeret)","destination_account":"Célszámla","source_account":"Forrás számla","single_split":"Felosztás","create_new_transaction":"Create a new transaction","balance":"Egyenleg","transaction_journal_extra":"Extra information","transaction_journal_meta":"Meta-információ","basic_journal_information":"Basic transaction information","bills_to_pay":"Fizetendő számlák","left_to_spend":"Elkölthető","attachments":"Mellékletek","net_worth":"Nettó érték","bill":"Számla","no_bill":"(no bill)","tags":"Címkék","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nincs malacpersely)","paid":"Kifizetve","notes":"Megjegyzések","yourAccounts":"Bankszámlák","go_to_asset_accounts":"Eszközszámlák megtekintése","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Trasferimento","Withdrawal":"Prelievo","Deposit":"Entrata","date_and_time":"Data e ora","no_currency":"(nessuna valuta)","date":"Data","time":"Ora","no_budget":"(nessun budget)","destination_account":"Conto destinazione","source_account":"Conto di origine","single_split":"Divisione","create_new_transaction":"Crea una nuova transazione","balance":"Saldo","transaction_journal_extra":"Informazioni aggiuntive","transaction_journal_meta":"Meta informazioni","basic_journal_information":"Informazioni di base sulla transazione","bills_to_pay":"Bollette da pagare","left_to_spend":"Altro da spendere","attachments":"Allegati","net_worth":"Patrimonio","bill":"Bolletta","no_bill":"(nessuna bolletta)","tags":"Etichette","internal_reference":"Riferimento interno","external_url":"URL esterno","no_piggy_bank":"(nessun salvadanaio)","paid":"Pagati","notes":"Note","yourAccounts":"I tuoi conti","go_to_asset_accounts":"Visualizza i tuoi conti attività","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overføring","Withdrawal":"Uttak","Deposit":"Innskudd","date_and_time":"Date and time","no_currency":"(ingen valuta)","date":"Dato","time":"Time","no_budget":"(ingen budsjett)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metainformasjon","basic_journal_information":"Basic transaction information","bills_to_pay":"Regninger å betale","left_to_spend":"Igjen å bruke","attachments":"Vedlegg","net_worth":"Formue","bill":"Regning","no_bill":"(no bill)","tags":"Tagger","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"Betalt","notes":"Notater","yourAccounts":"Dine kontoer","go_to_asset_accounts":"Se aktivakontoene dine","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Overschrijving","Withdrawal":"Uitgave","Deposit":"Inkomsten","date_and_time":"Datum en tijd","no_currency":"(geen valuta)","date":"Datum","time":"Tijd","no_budget":"(geen budget)","destination_account":"Doelrekening","source_account":"Bronrekening","single_split":"Split","create_new_transaction":"Maak een nieuwe transactie","balance":"Saldo","transaction_journal_extra":"Extra informatie","transaction_journal_meta":"Metainformatie","basic_journal_information":"Standaard transactieinformatie","bills_to_pay":"Openstaande contracten","left_to_spend":"Over om uit te geven","attachments":"Bijlagen","net_worth":"Kapitaal","bill":"Contract","no_bill":"(geen contract)","tags":"Tags","internal_reference":"Interne referentie","external_url":"Externe URL","no_piggy_bank":"(geen spaarpotje)","paid":"Betaald","notes":"Notities","yourAccounts":"Je betaalrekeningen","go_to_asset_accounts":"Bekijk je betaalrekeningen","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Wypłata","Deposit":"Wpłata","date_and_time":"Data i czas","no_currency":"(brak waluty)","date":"Data","time":"Czas","no_budget":"(brak budżetu)","destination_account":"Konto docelowe","source_account":"Konto źródłowe","single_split":"Podział","create_new_transaction":"Stwórz nową transakcję","balance":"Saldo","transaction_journal_extra":"Dodatkowe informacje","transaction_journal_meta":"Meta informacje","basic_journal_information":"Podstawowe informacje o transakcji","bills_to_pay":"Rachunki do zapłacenia","left_to_spend":"Pozostało do wydania","attachments":"Załączniki","net_worth":"Wartość netto","bill":"Rachunek","no_bill":"(brak rachunku)","tags":"Tagi","internal_reference":"Wewnętrzny nr referencyjny","external_url":"Zewnętrzny adres URL","no_piggy_bank":"(brak skarbonki)","paid":"Zapłacone","notes":"Notatki","yourAccounts":"Twoje konta","go_to_asset_accounts":"Zobacz swoje konta aktywów","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Retirada","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Horário","no_budget":"(sem orçamento)","destination_account":"Conta destino","source_account":"Conta origem","single_split":"Divisão","create_new_transaction":"Criar nova transação","balance":"Saldo","transaction_journal_extra":"Informação extra","transaction_journal_meta":"Meta-informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas a pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Valor Líquido","bill":"Fatura","no_bill":"(sem conta)","tags":"Tags","internal_reference":"Referência interna","external_url":"URL externa","no_piggy_bank":"(nenhum cofrinho)","paid":"Pago","notes":"Notas","yourAccounts":"Suas contas","go_to_asset_accounts":"Veja suas contas ativas","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transferência","Withdrawal":"Levantamento","Deposit":"Depósito","date_and_time":"Data e hora","no_currency":"(sem moeda)","date":"Data","time":"Hora","no_budget":"(sem orcamento)","destination_account":"Conta de destino","source_account":"Conta de origem","single_split":"Dividir","create_new_transaction":"Criar uma nova transação","balance":"Saldo","transaction_journal_extra":"Informações extra","transaction_journal_meta":"Meta informação","basic_journal_information":"Informações básicas de transação","bills_to_pay":"Contas por pagar","left_to_spend":"Restante para gastar","attachments":"Anexos","net_worth":"Patrimonio liquido","bill":"Conta","no_bill":"(sem contas)","tags":"Etiquetas","internal_reference":"Referência interna","external_url":"URL Externo","no_piggy_bank":"(nenhum mealheiro)","paid":"Pago","notes":"Notas","yourAccounts":"As suas contas","go_to_asset_accounts":"Ver as contas de activos","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Transfer","Withdrawal":"Retragere","Deposit":"Depozit","date_and_time":"Date and time","no_currency":"(nici o monedă)","date":"Dată","time":"Time","no_budget":"(nici un buget)","destination_account":"Contul de destinație","source_account":"Contul sursă","single_split":"Împarte","create_new_transaction":"Create a new transaction","balance":"Balantă","transaction_journal_extra":"Extra information","transaction_journal_meta":"Informații meta","basic_journal_information":"Basic transaction information","bills_to_pay":"Facturile de plată","left_to_spend":"Ramas de cheltuit","attachments":"Atașamente","net_worth":"Valoarea netă","bill":"Factură","no_bill":"(no bill)","tags":"Etichete","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(nicio pușculiță)","paid":"Plătit","notes":"Notițe","yourAccounts":"Conturile dvs.","go_to_asset_accounts":"Vizualizați conturile de active","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Перевод","Withdrawal":"Расход","Deposit":"Доход","date_and_time":"Дата и время","no_currency":"(нет валюты)","date":"Дата","time":"Время","no_budget":"(вне бюджета)","destination_account":"Счёт назначения","source_account":"Счёт-источник","single_split":"Разделённая транзакция","create_new_transaction":"Создать новую транзакцию","balance":"Бaлaнc","transaction_journal_extra":"Дополнительные сведения","transaction_journal_meta":"Дополнительная информация","basic_journal_information":"Основная информация о транзакции","bills_to_pay":"Счета к оплате","left_to_spend":"Осталось потратить","attachments":"Вложения","net_worth":"Мои сбережения","bill":"Счёт к оплате","no_bill":"(нет счёта на оплату)","tags":"Метки","internal_reference":"Внутренняя ссылка","external_url":"Внешний URL-адрес","no_piggy_bank":"(нет копилки)","paid":"Оплачено","notes":"Заметки","yourAccounts":"Ваши счета","go_to_asset_accounts":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Prevod","Withdrawal":"Výber","Deposit":"Vklad","date_and_time":"Dátum a čas","no_currency":"(žiadna mena)","date":"Dátum","time":"Čas","no_budget":"(žiadny rozpočet)","destination_account":"Cieľový účet","source_account":"Zdrojový účet","single_split":"Rozúčtovať","create_new_transaction":"Vytvoriť novú transakciu","balance":"Zostatok","transaction_journal_extra":"Ďalšie informácie","transaction_journal_meta":"Meta informácie","basic_journal_information":"Základné Informácie o transakcii","bills_to_pay":"Účty na úhradu","left_to_spend":"Zostáva k útrate","attachments":"Prílohy","net_worth":"Čisté imanie","bill":"Účet","no_bill":"(žiadny účet)","tags":"Štítky","internal_reference":"Interná referencia","external_url":"Externá URL","no_piggy_bank":"(žiadna pokladnička)","paid":"Uhradené","notes":"Poznámky","yourAccounts":"Vaše účty","go_to_asset_accounts":"Zobraziť účty aktív","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Överföring","Withdrawal":"Uttag","Deposit":"Insättning","date_and_time":"Datum och tid","no_currency":"(ingen valuta)","date":"Datum","time":"Tid","no_budget":"(ingen budget)","destination_account":"Till konto","source_account":"Källkonto","single_split":"Dela","create_new_transaction":"Skapa en ny transaktion","balance":"Saldo","transaction_journal_extra":"Extra information","transaction_journal_meta":"Metadata","basic_journal_information":"Grundläggande transaktionsinformation","bills_to_pay":"Notor att betala","left_to_spend":"Återstår att spendera","attachments":"Bilagor","net_worth":"Nettoförmögenhet","bill":"Nota","no_bill":"(ingen räkning)","tags":"Etiketter","internal_reference":"Intern referens","external_url":"Extern URL","no_piggy_bank":"(ingen spargris)","paid":"Betald","notes":"Noteringar","yourAccounts":"Dina konton","go_to_asset_accounts":"Visa dina tillgångskonton","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"Chuyển khoản","Withdrawal":"Rút tiền","Deposit":"Tiền gửi","date_and_time":"Date and time","no_currency":"(không có tiền tệ)","date":"Ngày","time":"Time","no_budget":"(không có ngân sách)","destination_account":"Tài khoản đích","source_account":"Nguồn tài khoản","single_split":"Chia ra","create_new_transaction":"Tạo giao dịch mới","balance":"Tiền còn lại","transaction_journal_extra":"Extra information","transaction_journal_meta":"Thông tin tổng hợp","basic_journal_information":"Basic transaction information","bills_to_pay":"Hóa đơn phải trả","left_to_spend":"Còn lại để chi tiêu","attachments":"Tệp đính kèm","net_worth":"Tài sản thực","bill":"Hóa đơn","no_bill":"(no bill)","tags":"Nhãn","internal_reference":"Tài liệu tham khảo nội bộ","external_url":"URL bên ngoài","no_piggy_bank":"(chưa có heo đất)","paid":"Đã thanh toán","notes":"Ghi chú","yourAccounts":"Tài khoản của bạn","go_to_asset_accounts":"Xem tài khoản của bạn","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"转账","Withdrawal":"提款","Deposit":"收入","date_and_time":"日期和时间","no_currency":"(没有货币)","date":"日期","time":"时间","no_budget":"(无预算)","destination_account":"目标账户","source_account":"来源账户","single_split":"拆分","create_new_transaction":"创建新交易","balance":"余额","transaction_journal_extra":"额外信息","transaction_journal_meta":"元信息","basic_journal_information":"基础交易信息","bills_to_pay":"待付账单","left_to_spend":"剩余支出","attachments":"附件","net_worth":"净资产","bill":"账单","no_bill":"(无账单)","tags":"标签","internal_reference":"内部引用","external_url":"外部链接","no_piggy_bank":"(无存钱罐)","paid":"已付款","notes":"备注","yourAccounts":"您的账户","go_to_asset_accounts":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715:t=>{"use strict";t.exports=JSON.parse('{"firefly":{"Transfer":"轉帳","Withdrawal":"提款","Deposit":"存款","date_and_time":"Date and time","no_currency":"(沒有貨幣)","date":"日期","time":"Time","no_budget":"(無預算)","destination_account":"Destination account","source_account":"Source account","single_split":"Split","create_new_transaction":"Create a new transaction","balance":"餘額","transaction_journal_extra":"Extra information","transaction_journal_meta":"後設資訊","basic_journal_information":"Basic transaction information","bills_to_pay":"待付帳單","left_to_spend":"剩餘可花費","attachments":"附加檔案","net_worth":"淨值","bill":"帳單","no_bill":"(no bill)","tags":"標籤","internal_reference":"Internal reference","external_url":"External URL","no_piggy_bank":"(no piggy bank)","paid":"已付款","notes":"備註","yourAccounts":"您的帳戶","go_to_asset_accounts":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},t=>{"use strict";t.O(0,[228],(()=>{return e=843,t(t.s=e);var e}));t.O()}]);
//# sourceMappingURL=edit.js.map
\ No newline at end of file
diff --git a/public/v2/js/transactions/edit.js.map b/public/v2/js/transactions/edit.js.map
index c65c18c678..5f2ae48b9f 100755
--- a/public/v2/js/transactions/edit.js.map
+++ b/public/v2/js/transactions/edit.js.map
@@ -1 +1 @@
-{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?2e9d","webpack:///./src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?872f","webpack:///./src/pages/transactions/edit.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?9e74","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?cd8f","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?a67c","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5643","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?653e","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?e9f4","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bcbd","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?82eb","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?43d9","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","returnedGroupId","returnedGroupTitle","time","originalDate","originalTime","submittedTransaction","submittedLinks","submittedAttachments","inError","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finalizeSubmit","methods","parseTransactionGroup","group_title","hasOwnProperty","i","test","result","parseLinks","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","source_id","source_name","destination_id","destination_name","category_name","substr","external_uri","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","uploadedAttachment","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","submitTransaction","submission","shouldSubmit","basicFields","ii","currentTransaction","fieldName","originalTransaction","currentTag","text","shouldLinks","shouldUpload","theDate","setMinutes","setSeconds","dateStr","Object","keys","transactionCount","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","on","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","i18n","props","store","render","createElement","Edit","beforeCreate","$store","$mount","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","computed","isNaN","toISOString","set","timeStr","current","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","accountKey","visible","scopedSlots","_u","fn","htmlText","switchAccounts","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","event","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,MAAM,yEAIlB,IAAIC,EAAcN,SAASC,KAAKC,cAAc,uBAG1CK,aAAaC,OADbF,EACsBA,EAAYH,QAEZ,QAI1BT,EAAQ,MACRA,EAAQ,MAERA,EAAQ,MACRA,EAAQ,MAIRH,OAAOkB,QAAUC,IACjBnB,OAAOoB,IAAMA,EACbC,QAAQH,SACRG,QAAQD,GACRpB,OAAOqB,IAAMA,K,4BC3CN,SAASC,IACZ,MAAO,CACHC,YAAa,GACbC,OAAQ,GACRC,OAAQ,GACRC,YAAa,GACbC,SAAU,GACVC,iBAAkB,GAClBC,eAAgB,GAChBC,KAAM,GACNC,aAAc,GACdC,OAAQ,GACRC,SAAU,GACVC,KAAM,GACNC,KAAM,GACNC,WAAY,GACZC,mBAAoB,GACpBC,aAAc,GACdC,MAAO,GACPC,SAAU,IAIX,SAASC,IACZ,MA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AW,UAAU,CAACZ,EAAG,WAAW,CAACiD,KAAK,UAAU,CAACjD,EAAG,MAAM,CAACI,YAAY,sBAAsB,CAACJ,EAAG,SAAS,CAACI,YAAY,4BAA4BF,MAAM,CAAC,SAAW,KAAK,KAAO,UAAUI,GAAG,CAAC,MAAQT,EAAI6C,mBAAmB,CAAC1C,EAAG,IAAI,CAACI,YAAY,4BAA4B,GAAGP,EAAIM,GAAG,KAAMN,EAAIrQ,OAAOiD,OAAS,EAAGuN,EAAG,OAAOH,EAAIQ,GAAIR,EAAU,QAAE,SAASxU,GAAO,OAAO2U,EAAG,OAAO,CAACI,YAAY,qBAAqB,CAACP,EAAIM,GAAGN,EAAIiB,GAAGzV,IAAQ2U,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAI1V,EAAU,EAAQ,MACnBA,EAAQokB,aAAYpkB,EAAUA,EAAQ+Z,SACnB,iBAAZ/Z,IAAsBA,EAAU,CAAC,CAACuM,EAAO3J,GAAI5C,EAAS,MAC7DA,EAAQqkB,SAAQ9X,EAAOC,QAAUxM,EAAQqkB,SAG/BC,EADH,WACO,WAAYtkB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n <SplitPills :transactions=\"transactions\"/>\n\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :transaction=\"transaction\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :time=\"time\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allow-switch=\"false\"\n :submitted-transaction=\"submittedTransaction\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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 &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction, toW3CString} from '../shared/transactions';\n\nexport default {\n name: \"Edit\",\n created() {\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: '',\n errorMessage: '',\n warningMessage: '',\n\n // transaction props\n transactions: [],\n originalTransactions: [],\n groupTitle: '',\n originalGroupTitle: '',\n transactionType: 'any',\n groupId: 0,\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // which custom fields to show\n customFields: {},\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // date and time of the transaction,\n date: new Date,\n time: new Date,\n originalDate: new Date,\n originalTime: new Date,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n inError: false,\n\n // meta data for accounts\n allowedOpposingTypes: {},\n destinationAllowedTypes: [],\n sourceAllowedTypes: [],\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n\n methods: {\n /**\n * Grap transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\n axios.get('./api/v1/transactions/' + this.groupId)\n .then(response => {\n this.parseTransactionGroup(response.data);\n }\n ).catch(error => {\n // console.log('I failed :(');\n // console.log(error);\n });\n },\n /**\n * Parse transaction group. Title is easy, transactions have their own method.\n * @param response\n */\n parseTransactionGroup: function (response) {\n // console.log('Will now parse');\n // console.log(response);\n let attributes = response.data.attributes;\n let transactions = attributes.transactions.reverse();\n this.groupTitle = attributes.group_title;\n this.originalGroupTitle = attributes.group_title;\n\n for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let result = this.parseTransaction(parseInt(i), transactions[i]);\n this.transactions.push(result);\n this.originalTransactions.push(lodashClonedeep(result));\n // pick up the links of this transaction:\n this.parseLinks(parseInt(result.transaction_journal_id), parseInt(i));\n }\n }\n },\n /**\n * Parse a single transaction.\n *\n * @param index\n * @param array\n */\n parseTransaction: function (index, array) {\n //console.log('index: ' + index);\n if (0 === index) {\n this.transactionType = array.type.charAt(0).toUpperCase() + array.type.slice(1);\n this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = new Date(array.date);\n this.time = new Date(array.date);\n this.originalDate = new Date(array.date);\n this.originalTime = new Date(array.date);\n }\n let result = getDefaultTransaction();\n // parsing here:\n result.description = array.description;\n result.transaction_journal_id = parseInt(array.transaction_journal_id);\n // accounts:\n result.source_account_id = array.source_id;\n result.source_account_name = array.source_name;\n result.source_account_type = array.source_type;\n\n result.destination_account_id = array.destination_id;\n result.destination_account_name = array.destination_name;\n result.destination_account_type = array.destination_type;\n\n // amount:\n result.amount = array.amount;\n result.currency_id = array.currency_id;\n result.foreign_amount = array.foreign_amount;\n result.foreign_currency_id = array.foreign_currency_id;\n\n // meta data\n result.category = array.category_name;\n result.budget_id = array.budget_id;\n result.bill_id = array.bill_id ?? 0;\n\n result.tags = array.tags;\n\n // optional date fields (6x):\n result.interest_date = array.interest_date ? array.interest_date.substr(0, 10) : '';\n result.book_date = array.book_date ? array.book_date.substr(0, 10) : '';\n result.process_date = array.process_date ? array.process_date.substr(0, 10) : '';\n result.due_date = array.due_date ? array.due_date.substr(0, 10) : '';\n result.payment_date = array.payment_date ? array.payment_date.substr(0, 10) : '';\n result.invoice_date = array.invoice_date ? array.invoice_date.substr(0, 10) : '';\n\n // optional other fields:\n result.internal_reference = array.internal_reference;\n result.external_url = array.external_uri;\n result.external_id = array.external_id;\n result.notes = array.notes;\n // location:\n result.location = {\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n };\n result.zoom_level = array.zoom_level;\n result.longitude = array.longitude;\n result.latitude = array.latitude;\n\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * TODO same method as Create\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n this.allowedOpposingTypes = response.data.data.value;\n // console.log('Set allowedOpposingTypes');\n });\n },\n /**\n * Get API value.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n uploadedAttachment: function (payload) {\n console.log('event: uploadedAttachment');\n console.log(payload);\n },\n storeLocation: function (payload) {\n this.transactions[payload.index].zoom_level = payload.zoomLevel;\n this.transactions[payload.index].longitude = payload.lng;\n this.transactions[payload.index].latitude = payload.lat;\n },\n storeAccountValue: function (payload) {\n let direction = payload.direction;\n let index = payload.index;\n this.transactions[index][direction + '_account_id'] = payload.id;\n this.transactions[index][direction + '_account_type'] = payload.type;\n this.transactions[index][direction + '_account_name'] = payload.name;\n },\n storeDate: function (payload) {\n // console.log('event: storeDate');\n // console.log(payload);\n this.date = payload.date;\n },\n storeTime: function (payload) {\n this.time = payload.time;\n // console.log('event: storeTime');\n // console.log(payload);\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n // console.log('event: storeField(' + field + ')');\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n this.transactions.splice(payload.index, 1);\n // this kills the original transactions.\n this.originalTransactions = [];\n },\n storeGroupTitle: function (payload) {\n this.groupTitle = payload;\n },\n selectedAttachments: function (payload) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload)) {\n // console.log('selectedAttachments ' + payload);\n this.transactions[i].selectedAttachments = true;\n }\n }\n }\n },\n addTransaction: function () {\n let newTransaction = getDefaultTransaction();\n newTransaction.errors = getDefaultErrors();\n this.transactions.push(newTransaction);\n },\n submitTransaction: function () {\n let submission = {transactions: []};\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n let transactionCount = this.originalTransactions.length;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n\n let diff = {};\n\n // compare basic fields:\n let basicFields = [\n 'description',\n 'source_account_id', 'source_account_name',\n 'destination_account_id', 'destination_account_name',\n 'amount', 'foreign_amount', 'foreign_currency_id',\n 'category_name', 'budget_id', 'bill_id',\n 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date',\n 'external_url', 'internal_reference', 'external_id', 'notes',\n 'zoom_level', 'longitude', 'latitude'\n ];\n\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // console.log('Index ' + i + ': Field ' + fieldName + ' updated (\"' + originalTransaction[fieldName] + '\" > \"' + currentTransaction[fieldName] + '\")');\n // console.log(originalTransaction[fieldName]);\n // console.log(currentTransaction[fieldName]);\n diff[fieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n if (0 !== currentTransaction.piggy_bank_id) {\n diff.piggy_bank_id = currentTransaction.piggy_bank_id;\n shouldSubmit = true;\n }\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n // console.log('tags are different');\n // console.log(currentTransaction.tags);\n // console.log(originalTransaction.tags);\n diff.tags = [];//currentTransaction.tags;\n\n if (0 !== currentTransaction.tags.length) {\n for (let ii in currentTransaction.tags) {\n if (currentTransaction.tags.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n // array.tags\n let currentTag = currentTransaction.tags[ii];\n if(typeof currentTag === 'object' && null !== currentTag) {\n diff.tags.push(currentTag.text);\n }\n if(typeof currentTag === 'string') {\n diff.tags.push(currentTag);\n }\n }\n }\n }\n\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n // console.log('links are?');\n // console.log(newLinks);\n // console.log(originalLinks);\n if (newLinks !== originalLinks) {\n // console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n shouldLinks = true;\n }\n // this.transactions[i].selectedAttachments\n // console.log(typeof currentTransaction.selectedAttachments);\n // console.log(currentTransaction.selectedAttachments);\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n // must upload!\n shouldUpload = true;\n }\n\n let dateStr = 'invalid';\n if (\n this.date.toISOString() !== this.originalDate.toISOString() ||\n this.time.toISOString() !== this.originalTime.toISOString()\n ) {\n console.log('Date and/or time is changed');\n // set date and time!\n shouldSubmit = true;\n let theDate = this.date;\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n diff.date = dateStr;\n }\n if (Object.keys(diff).length === 0 && transactionCount > 1) {\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n } else if (Object.keys(diff).length !== 0) {\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n\n console.log('submitTransaction');\n console.log('shouldUpload : ' + shouldUpload);\n console.log('shouldLinks : ' + shouldLinks);\n console.log('shouldSubmit : ' + shouldSubmit);\n if (shouldSubmit) {\n this.submitUpdate(submission, shouldLinks, shouldUpload);\n }\n if (!shouldSubmit) {\n this.submittedTransaction = true;\n }\n if (!shouldLinks) {\n this.submittedLinks = true;\n }\n if (!shouldUpload) {\n this.submittedAttachments = true;\n }\n if (!shouldSubmit && shouldLinks) {\n this.submitTransactionLinks();\n }\n\n if (!shouldSubmit && shouldLinks) {\n // TODO\n //this.submittedAttachments();\n }\n console.log('Done with submit methd.');\n //console.log(submission);\n },\n compareLinks: function (array) {\n let compare = [];\n for (let i in array) {\n if (array.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n compare.push(\n {\n amount: array[i].amount,\n currency_code: array[i].currency_code,\n description: array[i].description,\n link_type_id: array[i].link_type_id,\n transaction_group_id: array[i].transaction_group_id,\n type: array[i].type,\n }\n );\n }\n }\n // console.log('compareLinks');\n // console.log(compare);\n return JSON.stringify(compare);\n },\n submitUpdate: function (submission, shouldLinks, shouldUpload) {\n console.log('submitUpdate');\n this.inError = false;\n const url = './api/v1/transactions/' + this.groupId;\n console.log(submission);\n axios.put(url, submission)\n .then(response => {\n console.log('Response is OK!');\n // report the transaction is submitted.\n this.submittedTransaction = true;\n\n // submit links and attachments (can only be done when the transaction is created)\n if (shouldLinks) {\n console.log('Need to update links.');\n this.submitTransactionLinks();\n }\n if (!shouldLinks) {\n console.log('No need to update links.');\n }\n // TODO attachments:\n // this.submitAttachments(data, response);\n //\n // // meanwhile, store the ID and the title in some easy to access variables.\n this.returnedGroupId = parseInt(response.data.data.id);\n this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n }\n )\n .catch(error => {\n console.log('error :(');\n console.log(error.response.data);\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n // report the transaction is submitted.\n this.submittedTransaction = true;\n // // also report attachments and links are submitted:\n this.submittedAttachments = true;\n this.submittedLinks = true;\n //\n // but report an error because error:\n this.inError = true;\n this.parseErrors(error.response.data);\n }\n );\n },\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.resetErrors({index: i});\n }\n }\n this.successMessage = '';\n this.errorMessage = this.$t('firefly.errors_submission');\n if (typeof errors.errors === 'undefined') {\n this.successMessage = '';\n this.errorMessage = errors.message;\n }\n\n let payload;\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n setTransactionError: function (payload) {\n this.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n resetErrors(payload) {\n this.transactions[payload.index].errors = lodashClonedeep(getDefaultErrors());\n },\n\n deleteOriginalLinks: function (transaction) {\n console.log(transaction.links);\n for (let i in transaction.links) {\n if (transaction.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = transaction.links[i];\n let url = '/api/v1/transaction_links/' + current.id;\n axios.delete(url).then(response => {\n // TODO response\n });\n }\n }\n },\n\n /**\n * Submit transaction links.\n * TODO same method as CREATE\n */\n submitTransactionLinks() {\n let total = 0;\n let promises = [];\n\n console.log('submitTransactionLinks()');\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n this.deleteOriginalLinks(originalTransaction);\n }\n\n console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n for (let ii in currentTransaction.links) {\n if (currentTransaction.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = currentTransaction.links[ii];\n let linkObject = {\n inward_id: currentTransaction.transaction_journal_id,\n outward_id: currentTransaction.transaction_journal_id,\n link_type_id: 'something'\n };\n\n let parts = currentLink.link_type_id.split('-');\n linkObject.link_type_id = parts[0];\n if ('inward' === parts[1]) {\n linkObject.inward_id = currentLink.transaction_journal_id;\n }\n if ('outward' === parts[1]) {\n linkObject.outward_id = currentLink.transaction_journal_id;\n }\n\n console.log(linkObject);\n total++;\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', linkObject).then(response => {\n // TODO error handling.\n }));\n }\n }\n // shouldLinks = true;\n }\n\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n finalizeSubmit: function () {\n console.log('now in finalizeSubmit()');\n console.log('submittedTransaction : ' + this.submittedTransaction);\n console.log('submittedLinks : ' + this.submittedLinks);\n console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n console.log('all true');\n console.log('inError = ' + this.inError);\n console.log('stayHere = ' + this.stayHere);\n console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=17cb1c2b&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17cb1c2b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.warningMessage,\"type\":\"warning\"}}),_vm._v(\" \"),_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"transaction\":transaction,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"time\":_vm.time,\"index\":index,\"transaction-type\":_vm.transactionType,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allow-switch\":false,\"submitted-transaction\":_vm.submittedTransaction},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-time\":function($event){return _vm.storeTime($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"selected-attachments\":function($event){return _vm.selectedAttachments($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",on:{\"click\":_vm.addTransaction}},[_c('i',{staticClass:\"far fa-clone\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.add_another_split'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: ''\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n current.setHours(parseInt(parts[0] ?? 0));\n current.setMinutes(parseInt(parts[1] ?? 0));\n current.setSeconds(parseInt(parts[2] ?? 0));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=cae9ea52&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=478aaf7f&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n @hit=\"selectedAccount = $event\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n allowedOpposingTypes: {\n type: Object,\n default: () => ({})\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\n this.accounts = this.initialSet;\n this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // console.log(this.direction + ': Will search for types:');\n // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //console.log('Got a response!');\n this.accounts = response.data;\n //console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\n // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n this.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\n // console.log('Index ' + this.index + ' nwAct: ', value);\n // console.log(this.direction + ' account overruled by external forces.');\n // console.log(value);\n this.account = value;\n this.selectedAccountTrigger = true;\n this.accountName = value.name ?? '';\n }\n },\n computed: {\n // 'transactionType',\n // 'sourceAllowedTypes',\n // 'destinationAllowedTypes',\n // 'allowedOpposingTypes'\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 if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType;\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=1cc84f21&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\">&nbsp;</span>\n </div>\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">&harr;</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=376bca8c&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"376bca8c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=fadf3e90&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fadf3e90\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">&nbsp;</div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n v-on:submit.prevent\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=7c0f4f0c&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)},\"submit\":function($event){$event.preventDefault();}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=7c81d840&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=f88cfd4e&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\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 &rarr;\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// 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>&nbsp;</p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n :time=\"splitTime\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\n // }\n // },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\n return {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n },\n destinationAccount: function () {\n return {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=26939696&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: ['transactions']\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=0e910ecf&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\"},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0===index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
+{"version":3,"sources":["webpack:///./src/bootstrap.js","webpack:///./src/components/shared/transactions.js","webpack:///./src/components/store/modules/transactions/create.js","webpack:///./src/components/store/modules/transactions/edit.js","webpack:///./src/components/store/modules/dashboard/index.js","webpack:///./src/components/store/modules/root.js","webpack:///./src/components/store/modules/accounts/index.js","webpack:///./src/components/store/index.js","webpack:///./src/i18n.js","webpack:///src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?2e9d","webpack:///./src/components/transactions/Edit.vue","webpack:///./src/components/transactions/Edit.vue?872f","webpack:///./src/pages/transactions/edit.js","webpack:///./src/components/transactions/TransactionTags.vue?1d59","webpack:///src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?8ba7","webpack:///./src/components/partials/Alert.vue","webpack:///./src/components/partials/Alert.vue?bc9d","webpack:///./src/components/transactions/SplitForm.vue?f826","webpack:///src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?51f7","webpack:///./src/components/transactions/TransactionDescription.vue","webpack:///./src/components/transactions/TransactionDescription.vue?5176","webpack:///src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?3867","webpack:///./src/components/transactions/TransactionDate.vue","webpack:///./src/components/transactions/TransactionDate.vue?0ae7","webpack:///src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?00ee","webpack:///./src/components/transactions/TransactionBudget.vue","webpack:///./src/components/transactions/TransactionBudget.vue?a67c","webpack:///src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?5275","webpack:///./src/components/transactions/TransactionAccount.vue","webpack:///./src/components/transactions/TransactionAccount.vue?a3d9","webpack:///src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?2eca","webpack:///./src/components/transactions/SwitchAccount.vue","webpack:///./src/components/transactions/SwitchAccount.vue?653e","webpack:///src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?69ff","webpack:///./src/components/transactions/TransactionAmount.vue","webpack:///./src/components/transactions/TransactionAmount.vue?e9f4","webpack:///src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?ff11","webpack:///./src/components/transactions/TransactionForeignAmount.vue","webpack:///./src/components/transactions/TransactionForeignAmount.vue?1a78","webpack:///src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?f6a0","webpack:///./src/components/transactions/TransactionForeignCurrency.vue","webpack:///./src/components/transactions/TransactionForeignCurrency.vue?b802","webpack:///src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?c6d3","webpack:///./src/components/transactions/TransactionCustomDates.vue","webpack:///./src/components/transactions/TransactionCustomDates.vue?bcbd","webpack:///src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?b515","webpack:///./src/components/transactions/TransactionCategory.vue","webpack:///./src/components/transactions/TransactionCategory.vue?3c7a","webpack:///src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?9147","webpack:///./src/components/transactions/TransactionBill.vue","webpack:///./src/components/transactions/TransactionBill.vue?82eb","webpack:///./src/components/transactions/TransactionTags.vue?aa73","webpack:///src/components/transactions/TransactionTags.vue","webpack:///./src/components/transactions/TransactionTags.vue?c786","webpack:///./src/components/transactions/TransactionTags.vue","webpack:///src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?e9e1","webpack:///./src/components/transactions/TransactionPiggyBank.vue","webpack:///./src/components/transactions/TransactionPiggyBank.vue?43d9","webpack:///src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?2fd1","webpack:///./src/components/transactions/TransactionInternalReference.vue","webpack:///./src/components/transactions/TransactionInternalReference.vue?0cb6","webpack:///src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?28f8","webpack:///./src/components/transactions/TransactionExternalUrl.vue","webpack:///./src/components/transactions/TransactionExternalUrl.vue?3b2c","webpack:///src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?3804","webpack:///./src/components/transactions/TransactionNotes.vue","webpack:///./src/components/transactions/TransactionNotes.vue?592a","webpack:///./src/components/transactions/TransactionLinks.vue?6de1","webpack:///src/components/transactions/TransactionLinks.vue","webpack:///./src/components/transactions/TransactionLinks.vue?d196","webpack:///./src/components/transactions/TransactionLinks.vue","webpack:///src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?3db4","webpack:///./src/components/transactions/TransactionAttachments.vue","webpack:///./src/components/transactions/TransactionAttachments.vue?2a9b","webpack:///src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?9e0a","webpack:///./src/components/transactions/TransactionLocation.vue","webpack:///./src/components/transactions/TransactionLocation.vue?113d","webpack:///./src/components/transactions/SplitForm.vue?99bd","webpack:///src/components/transactions/SplitForm.vue","webpack:///./src/components/transactions/SplitForm.vue","webpack:///src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?cba2","webpack:///./src/components/transactions/SplitPills.vue","webpack:///./src/components/transactions/SplitPills.vue?39af","webpack:///./src/components/transactions/TransactionGroupTitle.vue?140c","webpack:///src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionGroupTitle.vue?5049","webpack:///./src/components/transactions/TransactionGroupTitle.vue","webpack:///./src/components/transactions/TransactionTags.vue?cec9"],"names":["window","$","jQuery","require","axios","defaults","headers","common","token","document","head","querySelector","content","console","error","localeToken","localStorage","locale","vuei18n","VueI18n","uiv","Vue","getDefaultErrors","description","amount","source","destination","currency","foreign_currency","foreign_amount","date","custom_dates","budget","category","bill","tags","piggy_bank","internal_reference","external_url","notes","location","getDefaultTransaction","transaction_journal_id","source_account_id","source_account_name","source_account_type","source_account_currency_id","source_account_currency_code","source_account_currency_symbol","destination_account_id","destination_account_name","destination_account_type","destination_account_currency_id","destination_account_currency_code","destination_account_currency_symbol","source_account","id","name","name_with_balance","type","currency_id","currency_name","currency_code","currency_decimal_places","destination_account","foreign_currency_id","budget_id","bill_id","piggy_bank_id","interest_date","book_date","process_date","due_date","payment_date","invoice_date","external_id","links","attachments","zoom_level","longitude","latitude","errors","toW3CString","year","getFullYear","month","getMonth","day","getDate","hours","getHours","minutes","getMinutes","seconds","getSeconds","offset","getTimezoneOffset","offsetHours","Math","abs","floor","offsetMinutes","offsetSign","lodashClonedeep","namespaced","state","transactionType","groupTitle","transactions","customDateFields","defaultTransaction","defaultErrors","getters","accountToTransaction","sourceAllowedTypes","destinationAllowedTypes","allowedOpposingTypes","actions","mutations","addTransaction","newTransaction","push","resetErrors","payload","index","resetTransactions","setGroupTitle","setCustomDateFields","deleteTransaction","splice","length","setTransactionType","setAllowedOpposingTypes","setAccountToTransaction","updateField","field","value","setTransactionError","setDestinationAllowedTypes","setSourceAllowedTypes","viewRange","start","end","defaultStart","defaultEnd","initialiseStore","context","get","then","response","data","attributes","commit","dispatch","setDatesFromViewRange","viewRangeStart","Date","viewRangeEnd","viewRangeDefaultStart","viewRangeDefaultEnd","getTime","setHours","diff","getDay","setDate","lastday","quarter","half","setStart","setItem","setEnd","setDefaultStart","setDefaultEnd","setViewRange","range","listPageSize","parseInt","setListPageSize","number","orderMode","activeFilter","setOrderMode","setActiveFilter","Vuex","modules","root","root_store","create","transactions_create","edit","transactions_edit","accounts","accounts_index","dashboard","dashboard_index","strict","process","plugins","currencyPreference","setCurrencyPreference","currencyCode","code","currencyId","updateCurrencyPreference","JSON","parse","currencyResponse","symbol","decimal_places","stringify","err","module","exports","documentElement","lang","fallbackLocale","messages","created","this","groupId","parts","getTransactionGroup","getAllowedOpposingTypes","getCustomFields","successMessage","errorMessage","warningMessage","originalTransactions","originalGroupTitle","groupTitleErrors","customFields","returnedGroupId","returnedGroupTitle","time","originalDate","originalTime","submittedTransaction","submittedLinks","submittedAttachments","inError","enableSubmit","stayHere","components","Alert","SplitPills","SplitForm","TransactionGroupTitle","watch","finalizeSubmit","methods","parseTransactionGroup","group_title","hasOwnProperty","i","test","result","parseLinks","parseTransaction","array","charAt","toUpperCase","slice","source_type","destination_type","source_id","source_name","destination_id","destination_name","category_name","substr","external_uri","journalId","parseLink","opposingId","link","outward_id","linkDirection","promises","Promise","resolve","link_type_id","all","journals","journal","linkTypeId","direction","transaction_group_id","responses","uploadedAttachment","log","storeLocation","zoomLevel","lng","lat","storeAccountValue","storeDate","storeTime","storeField","removeTransaction","storeGroupTitle","selectedAttachments","submitTransaction","submission","shouldSubmit","basicFields","ii","currentTransaction","fieldName","originalTransaction","currentTag","text","shouldLinks","shouldUpload","theDate","setMinutes","setSeconds","dateStr","Object","keys","transactionCount","submitUpdate","submitTransactionLinks","compareLinks","compare","put","url","parseErrors","$t","message","key","transactionIndex","split","deleteOriginalLinks","transaction","newLinks","originalLinks","inward_id","linkObject","currentLink","total","post","href","_vm","_h","$createElement","_c","_self","attrs","_v","staticClass","_l","on","$event","model","callback","$$v","$set","expression","_e","_s","directives","rawName","domProps","Array","isArray","_i","$$a","$$el","target","$$c","checked","$$i","concat","i18n","props","store","render","createElement","Edit","beforeCreate","$store","$mount","___CSS_LOADER_EXPORT___","class","descriptions","initialSet","getACURL","clearDescription","getElementsByTagName","query","lookupDescription","debounce","$emit","item","slot","timeZone","Intl","DateTimeFormat","resolvedOptions","localDate","localTime","timeString","computed","isNaN","toISOString","set","timeStr","hrs","min","sec","current","ref","composing","budgetList","emitEvent","collectData","getBudgets","parseBudgets","preventDefault","$$selectedVal","prototype","filter","call","options","o","selected","map","_value","multiple","Number","String","default","accountTypes","selectedAccount","account","accountName","selectedAccountTrigger","createInitialSet","types","join","clearAccount","lookupAccount","accountTrigger","opposingAccounts","accountKey","visible","scopedSlots","_u","fn","htmlText","switchAccounts","required","sourceCurrencySymbol","destinationCurrencySymbol","fractionDigits","transactionAmount","formatNumber","parseFloat","str","toFixed","currencySymbol","srcCurrencySymbol","dstCurrencySymbol","sourceCurrencyId","destinationCurrencyId","isVisible","selectedCurrency","allCurrencies","selectableCurrencies","dstCurrencyId","srcCurrencyId","lockedCurrency","filterCurrencies","getAllCurrencies","dateFields","availableFields","dates","interestDate","bookDate","processDate","dueDate","paymentDate","invoiceDate","isDateField","includes","getFieldValue","setFieldValue","enabled","refInFor","categories","clearCategory","lookupCategory","selectedCategory","billList","getBills","parseBills","VueTagsInput","autocompleteItems","updateTags","tagList","shortList","initItems","clearTimeout","setTimeout","this$1","newTags","piggyList","getPiggies","parsePiggies","piggy","reference","showField","_m","searchResults","include","linkTypes","searching","getLinkTypes","removeLink","getTextForLinkType","selectTransaction","addToSelected","removeFromSelected","selectLinkType","updateSelected","resetModal","search","parseLinkTypes","inward","outward","linkTypeInward","linkTypeOutward","parseSearch","isJournalSelected","getJournalLinkType","link_type_text","NumberFormat","style","format","staticStyle","linkType","doUpload","selectedFile","$refs","att","files","LMap","LTileLayer","LMarker","zoom","center","hasMarker","bounds","marker","prepMap","myMap","mapObject","setObjectLocation","saveZoomLevel","event","latlng","clearLocation","zoomUpdated","centerUpdated","boundsUpdated","count","Boolean","allowSwitch","splitDate","splitTime","sourceAccount","destinationAccount","hasMetaFields","requiredFields","TransactionLocation","TransactionAttachments","TransactionNotes","TransactionExternalUrl","TransactionInternalReference","TransactionPiggyBank","TransactionTags","TransactionLinks","TransactionBill","TransactionCategory","TransactionCustomDates","TransactionForeignCurrency","TransactionForeignAmount","TransactionAmount","SwitchAccount","TransactionAccount","TransactionBudget","TransactionDescription","TransactionDate","_g","$listeners","title","__esModule","locals","add"],"mappings":"oIA0BAA,OAAOC,EAAID,OAAOE,OAASC,EAAQ,MAGnCH,OAAOI,MAAQD,EAAQ,MACvBH,OAAOI,MAAMC,SAASC,QAAQC,OAAO,oBAAsB,iBAG3D,IAAIC,EAAQC,SAASC,KAAKC,cAAc,2BAEpCH,EACAR,OAAOI,MAAMC,SAASC,QAAQC,OAAO,gBAAkBC,EAAMI,QAE7DC,QAAQC,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G,OAAO,CAACI,YAAY,qBAAqB,CAACP,EAAIM,GAAGN,EAAIiB,GAAGzV,IAAQ2U,EAAG,WAAU,GAAGH,EAAIgB,MAAM,KAC/lC,IGUpB,EACA,KACA,WACA,M,wBCXF,IAAI1V,EAAU,EAAQ,MACnBA,EAAQwkB,aAAYxkB,EAAUA,EAAQma,SACnB,iBAAZna,IAAsBA,EAAU,CAAC,CAACuM,EAAO3J,GAAI5C,EAAS,MAC7DA,EAAQykB,SAAQlY,EAAOC,QAAUxM,EAAQykB,SAG/BC,EADH,WACO,WAAY1kB,GAAS,EAAM,K","file":"/public/js/transactions/edit.js","sourcesContent":["/*\n * bootstrap.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// // imports\nimport Vue from 'vue';\nimport VueI18n from 'vue-i18n'\nimport * as uiv from 'uiv';\n\n// export jquery for others scripts to use\nwindow.$ = window.jQuery = require('jquery');\n\n// axios\nwindow.axios = require('axios');\nwindow.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';\n\n// CSRF\nlet token = document.head.querySelector('meta[name=\"csrf-token\"]');\n\nif (token) {\n window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;\n} else {\n console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');\n}\n\n// locale\nlet localeToken = document.head.querySelector('meta[name=\"locale\"]');\n\nif (localeToken) {\n localStorage.locale = localeToken.content;\n} else {\n localStorage.locale = 'en_US';\n}\n\n// admin stuff\nrequire('jquery-ui');\nrequire('bootstrap'); // bootstrap CSS?\n\nrequire('admin-lte/dist/js/adminlte');\nrequire('overlayscrollbars');\n\n\n// vue\nwindow.vuei18n = VueI18n;\nwindow.uiv = uiv;\nVue.use(vuei18n);\nVue.use(uiv);\nwindow.Vue = Vue;","/*\n * transactions.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nexport function getDefaultErrors() {\n return {\n description: [],\n amount: [],\n source: [],\n destination: [],\n currency: [],\n foreign_currency: [],\n foreign_amount: [],\n date: [],\n custom_dates: [],\n budget: [],\n category: [],\n bill: [],\n tags: [],\n piggy_bank: [],\n internal_reference: [],\n external_url: [],\n notes: [],\n location: []\n };\n}\n\nexport function getDefaultTransaction() {\n return {\n // basic\n description: '',\n transaction_journal_id: 0,\n // accounts:\n source_account_id: null,\n source_account_name: null,\n source_account_type: null,\n\n source_account_currency_id: null,\n source_account_currency_code: null,\n source_account_currency_symbol: null,\n\n destination_account_id: null,\n destination_account_name: null,\n destination_account_type: null,\n\n destination_account_currency_id: null,\n destination_account_currency_code: null,\n destination_account_currency_symbol: null,\n\n source_account: {\n id: 0,\n name: \"\",\n name_with_balance: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n destination_account: {\n id: 0,\n name: \"\",\n type: \"\",\n currency_id: 0,\n currency_name: '',\n currency_code: '',\n currency_decimal_places: 2\n },\n\n // amount:\n amount: '',\n currency_id: 0,\n foreign_amount: '',\n foreign_currency_id: 0,\n\n // meta data\n category: null,\n budget_id: 0,\n bill_id: 0,\n piggy_bank_id: 0,\n tags: [],\n\n // optional date fields (6x):\n interest_date: null,\n book_date: null,\n process_date: null,\n due_date: null,\n payment_date: null,\n invoice_date: null,\n\n // optional other fields:\n internal_reference: null,\n external_url: null,\n external_id: null,\n notes: null,\n\n // transaction links:\n links: [],\n attachments: [],\n // location:\n zoom_level: null,\n longitude: null,\n latitude: null,\n\n // error handling\n errors: {},\n }\n}\n\nexport function toW3CString(date) {\n // https://gist.github.com/tristanlins/6585391\n let year = date.getFullYear();\n let month = date.getMonth();\n month++;\n if (month < 10) {\n month = '0' + month;\n }\n let day = date.getDate();\n if (day < 10) {\n day = '0' + day;\n }\n let hours = date.getHours();\n if (hours < 10) {\n hours = '0' + hours;\n }\n let minutes = date.getMinutes();\n if (minutes < 10) {\n minutes = '0' + minutes;\n }\n let seconds = date.getSeconds();\n if (seconds < 10) {\n seconds = '0' + seconds;\n }\n let offset = -date.getTimezoneOffset();\n let offsetHours = Math.abs(Math.floor(offset / 60));\n let offsetMinutes = Math.abs(offset) - offsetHours * 60;\n if (offsetHours < 10) {\n offsetHours = '0' + offsetHours;\n }\n if (offsetMinutes < 10) {\n offsetMinutes = '0' + offsetMinutes;\n }\n let offsetSign = '+';\n if (offset < 0) {\n offsetSign = '-';\n }\n return year + '-' + month + '-' + day +\n 'T' + hours + ':' + minutes + ':' + seconds +\n offsetSign + offsetHours + ':' + offsetMinutes;\n}","/*\n * create.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nconst lodashClonedeep = require('lodash.clonedeep');\n\nimport {getDefaultTransaction, getDefaultErrors} from '../../../shared/transactions';\n\n// initial state\nconst state = () => ({\n transactionType: 'any',\n groupTitle: '',\n transactions: [],\n customDateFields: {\n interest_date: false,\n book_date: false,\n process_date: false,\n due_date: false,\n payment_date: false,\n invoice_date: false,\n },\n defaultTransaction: getDefaultTransaction(),\n defaultErrors: getDefaultErrors()\n }\n)\n\n\n// getters\nconst getters = {\n transactions: state => {\n return state.transactions;\n },\n groupTitle: state => {\n return state.groupTitle;\n },\n transactionType: state => {\n return state.transactionType;\n },\n accountToTransaction: state => {\n // TODO better architecture here, does not need the store.\n // possible API point!!\n return state.accountToTransaction;\n },\n defaultTransaction: state => {\n return state.defaultTransaction;\n },\n sourceAllowedTypes: state => {\n return state.sourceAllowedTypes;\n },\n destinationAllowedTypes: state => {\n return state.destinationAllowedTypes;\n },\n allowedOpposingTypes: state => {\n return state.allowedOpposingTypes;\n },\n customDateFields: state => {\n return state.customDateFields;\n }\n // // `getters` is localized to this module's getters\n // // you can use rootGetters via 4th argument of getters\n // someGetter (state, getters, rootState, rootGetters) {\n // getters.someOtherGetter // -> 'foo/someOtherGetter'\n // rootGetters.someOtherGetter // -> 'someOtherGetter'\n // rootGetters['bar/someOtherGetter'] // -> 'bar/someOtherGetter'\n // },\n\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n addTransaction(state) {\n let newTransaction = lodashClonedeep(state.defaultTransaction);\n newTransaction.errors = lodashClonedeep(state.defaultErrors);\n state.transactions.push(newTransaction);\n },\n resetErrors(state, payload) {\n //console.log('resetErrors for index ' + payload.index);\n state.transactions[payload.index].errors = lodashClonedeep(state.defaultErrors);\n },\n resetTransactions(state) {\n state.transactions = [];\n },\n setGroupTitle(state, payload) {\n state.groupTitle = payload.groupTitle;\n },\n setCustomDateFields(state, payload) {\n state.customDateFields = payload;\n },\n deleteTransaction(state, payload) {\n state.transactions.splice(payload.index, 1);\n // console.log('Deleted transaction ' + payload.index);\n // console.log(state.transactions);\n if (0 === state.transactions.length) {\n // console.log('array is empty!');\n }\n },\n setTransactionType(state, transactionType) {\n state.transactionType = transactionType;\n },\n setAllowedOpposingTypes(state, allowedOpposingTypes) {\n state.allowedOpposingTypes = allowedOpposingTypes;\n },\n setAccountToTransaction(state, payload) {\n state.accountToTransaction = payload;\n },\n updateField(state, payload) {\n state.transactions[payload.index][payload.field] = payload.value;\n },\n setTransactionError(state, payload) {\n //console.log('Will set transactions[' + payload.index + '][errors][' + payload.field + '] to ');\n //console.log(payload.errors);\n state.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n setDestinationAllowedTypes(state, payload) {\n // console.log('Destination allowed types was changed!');\n state.destinationAllowedTypes = payload;\n },\n setSourceAllowedTypes(state, payload) {\n state.sourceAllowedTypes = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * edit.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => ({});\n\n\n// getters\nconst getters = {};\n\n// actions\nconst actions = {};\n\n// mutations\nconst mutations = {};\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n viewRange: 'default',\n start: null,\n end: null,\n // default range:\n defaultStart: null,\n defaultEnd: null,\n }\n)\n\n\n// getters\nconst getters = {\n start: state => {\n return state.start;\n },\n end: state => {\n return state.end;\n },\n defaultStart: state => {\n return state.defaultStart;\n },\n defaultEnd: state => {\n return state.defaultEnd;\n },\n viewRange: state => {\n return state.viewRange;\n }\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n if ('default' === context.state.viewRange) {\n axios.get('./api/v1/preferences/viewRange')\n .then(response => {\n let viewRange = response.data.data.attributes.data;\n context.commit('setViewRange', viewRange);\n // call another action:\n context.dispatch('setDatesFromViewRange');\n }\n ).catch(error => {\n // console.log(error);\n context.commit('setViewRange', '1M');\n // call another action:\n context.dispatch('setDatesFromViewRange');\n });\n }\n },\n setDatesFromViewRange(context) {\n // console.log('Must set dates from viewRange \"' + context.state.viewRange + '\"');\n // check local storage first?\n if (localStorage.viewRangeStart) {\n // console.log('view range start set from local storage.');\n context.commit('setStart', new Date(localStorage.viewRangeStart));\n }\n if (localStorage.viewRangeEnd) {\n // console.log('view range end set from local storage.');\n context.commit('setEnd', new Date(localStorage.viewRangeEnd));\n }\n // also set default:\n if (localStorage.viewRangeDefaultStart) {\n // console.log('view range default start set from local storage.');\n // console.log(localStorage.viewRangeDefaultStart);\n context.commit('setDefaultStart', new Date(localStorage.viewRangeDefaultStart));\n }\n if (localStorage.viewRangeDefaultEnd) {\n // console.log('view range default end set from local storage.');\n // console.log(localStorage.viewRangeDefaultEnd);\n context.commit('setDefaultEnd', new Date(localStorage.viewRangeDefaultEnd));\n }\n\n if (null !== context.getters.end && null !== context.getters.start) {\n return;\n }\n let start;\n let end;\n let viewRange = context.getters.viewRange;\n // console.log('Will recreate view range on ' + viewRange);\n switch (viewRange) {\n case '1D':\n // one day:\n start = new Date;\n end = new Date(start.getTime());\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1W':\n // this week:\n start = new Date;\n end = new Date(start.getTime());\n // start of week\n let diff = start.getDate() - start.getDay() + (start.getDay() === 0 ? -6 : 1);\n start.setDate(diff);\n start.setHours(0, 0, 0, 0);\n\n // end of week\n let lastday = end.getDate() - (end.getDay() - 1) + 6;\n end.setDate(lastday);\n end.setHours(23, 59, 59, 999);\n break;\n case '1M':\n // this month:\n start = new Date;\n start = new Date(start.getFullYear(), start.getMonth(), 1);\n start.setHours(0, 0, 0, 0);\n end = new Date(start.getFullYear(), start.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '3M':\n // this quarter\n start = new Date;\n end = new Date;\n let quarter = Math.floor((start.getMonth() + 3) / 3) - 1;\n // start and end months? I'm sure this could be better:\n let startMonths = [0, 3, 6, 9];\n let endMonths = [2, 5, 8, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startMonths[quarter], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endMonths[quarter], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '6M':\n // this half-year\n start = new Date;\n end = new Date;\n let half = start.getMonth() <= 5 ? 0 : 1;\n\n let startHalf = [0, 6];\n let endHalf = [5, 11];\n // set start to the correct month, day one:\n start = new Date(start.getFullYear(), startHalf[half], 1);\n start.setHours(0, 0, 0, 0);\n\n // set end to the correct month, day one\n end = new Date(end.getFullYear(), endHalf[half], 1);\n // then to the last day of the month:\n end = new Date(end.getFullYear(), end.getMonth() + 1, 0);\n end.setHours(23, 59, 59, 999);\n break;\n case '1Y':\n // this year\n start = new Date;\n end = new Date;\n start = new Date(start.getFullYear(), 0, 1);\n\n end = new Date(end.getFullYear(), 11, 31);\n start.setHours(0, 0, 0, 0);\n end.setHours(23, 59, 59, 999);\n break;\n }\n // console.log('Range is ' + viewRange);\n // console.log('Start is ' + start);\n // console.log('End is ' + end);\n context.commit('setStart', start);\n context.commit('setEnd', end);\n context.commit('setDefaultStart', start);\n context.commit('setDefaultEnd', end);\n }\n}\n\n// mutations\nconst mutations = {\n setStart(state, value) {\n state.start = value;\n window.localStorage.setItem('viewRangeStart', value);\n },\n setEnd(state, value) {\n state.end = value;\n window.localStorage.setItem('viewRangeEnd', value);\n },\n setDefaultStart(state, value) {\n state.defaultStart = value;\n window.localStorage.setItem('viewRangeDefaultStart', value);\n },\n setDefaultEnd(state, value) {\n state.defaultEnd = value;\n window.localStorage.setItem('viewRangeDefaultEnd', value);\n },\n setViewRange(state, range) {\n state.viewRange = range;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * root.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n listPageSize: 33,\n }\n)\n\n\n// getters\nconst getters = {\n listPageSize: state => {\n // console.log('Wil return ' + state.listPageSize);\n return state.listPageSize;\n },\n}\n\n// actions\nconst actions = {\n initialiseStore(context) {\n // console.log('Now in root initialiseStore');\n // if list length in local storage:\n if (localStorage.listPageSize) {\n // console.log('listPageSize is in localStorage')\n // console.log('Init list page size with value ');\n // console.log(localStorage.listPageSize);\n state.listPageSize = localStorage.listPageSize;\n context.commit('setListPageSize', {length: localStorage.listPageSize});\n }\n if (!localStorage.listPageSize) {\n axios.get('./api/v1/preferences/listPageSize')\n .then(response => {\n // console.log('from API: listPageSize is ' + parseInt(response.data.data.attributes.data));\n context.commit('setListPageSize', {length: parseInt(response.data.data.attributes.data)});\n }\n );\n }\n }\n}\n\n// mutations\nconst mutations = {\n setListPageSize(state, payload) {\n // console.log('Got a payload in setListPageSize');\n // console.log(payload);\n let number = parseInt(payload.length);\n if (0 !== number) {\n state.listPageSize = number;\n\n }\n },\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2021 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// initial state\nconst state = () => (\n {\n orderMode: false,\n activeFilter: 1\n }\n)\n\n\n// getters\nconst getters = {\n orderMode: state => {\n return state.orderMode;\n },\n activeFilter: state => {\n return state.activeFilter;\n }\n}\n\n// actions\nconst actions = {}\n\n// mutations\nconst mutations = {\n setOrderMode(state, payload) {\n state.orderMode = payload;\n },\n setActiveFilter(state, payload) {\n state.activeFilter = payload;\n }\n}\n\nexport default {\n namespaced: true,\n state,\n getters,\n actions,\n mutations\n}\n","/*\n * index.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport Vue from 'vue'\nimport Vuex, {createLogger} from 'vuex'\nimport transactions_create from './modules/transactions/create';\nimport transactions_edit from './modules/transactions/edit';\nimport dashboard_index from './modules/dashboard/index';\nimport root_store from './modules/root';\nimport accounts_index from './modules/accounts/index';\n\nVue.use(Vuex)\nconst debug = process.env.NODE_ENV !== 'production'\n\nexport default new Vuex.Store(\n {\n namespaced: true,\n modules: {\n root: root_store,\n transactions: {\n namespaced: true,\n modules: {\n create: transactions_create,\n edit: transactions_edit\n }\n },\n accounts: {\n namespaced: true,\n modules: {\n index: accounts_index\n },\n },\n dashboard: {\n namespaced: true,\n modules: {\n index: dashboard_index\n }\n }\n },\n strict: debug,\n plugins: debug ? [createLogger()] : [],\n state: {\n currencyPreference: {},\n locale: 'en-US',\n listPageSize: 50\n },\n mutations: {\n setCurrencyPreference(state, payload) {\n state.currencyPreference = payload.payload;\n },\n initialiseStore(state) {\n // if locale in local storage:\n if (localStorage.locale) {\n state.locale = localStorage.locale;\n return;\n }\n\n // set locale from HTML:\n let localeToken = document.head.querySelector('meta[name=\"locale\"]');\n if (localeToken) {\n state.locale = localeToken.content;\n localStorage.locale = localeToken.content;\n }\n }\n },\n getters: {\n currencyCode: state => {\n return state.currencyPreference.code;\n },\n currencyPreference: state => {\n return state.currencyPreference;\n },\n currencyId: state => {\n return state.currencyPreference.id;\n },\n locale: state => {\n return state.locale;\n }\n },\n actions: {\n\n updateCurrencyPreference(context) {\n if (localStorage.currencyPreference) {\n context.commit('setCurrencyPreference', {payload: JSON.parse(localStorage.currencyPreference)});\n return;\n }\n axios.get('./api/v1/currencies/default')\n .then(response => {\n let currencyResponse = {\n id: parseInt(response.data.data.id),\n name: response.data.data.attributes.name,\n symbol: response.data.data.attributes.symbol,\n code: response.data.data.attributes.code,\n decimal_places: parseInt(response.data.data.attributes.decimal_places),\n };\n localStorage.currencyPreference = JSON.stringify(currencyResponse);\n //console.log('getCurrencyPreference from server')\n //console.log(JSON.stringify(currencyResponse));\n context.commit('setCurrencyPreference', {payload: currencyResponse});\n }).catch(err => {\n // console.log('Got error response.');\n console.error(err);\n context.commit('setCurrencyPreference', {\n payload: {\n id: 1,\n name: 'Euro',\n symbol: '€',\n code: 'EUR',\n decimal_places: 2\n }\n });\n });\n\n }\n }\n }\n);","/*\n * i18n.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\n// Create VueI18n instance with options\nmodule.exports = new vuei18n({\n locale: document.documentElement.lang, // set locale\n fallbackLocale: 'en',\n messages: {\n 'bg': require('./locales/bg.json'),\n 'cs': require('./locales/cs.json'),\n 'de': require('./locales/de.json'),\n 'en': require('./locales/en.json'),\n 'en-us': require('./locales/en.json'),\n 'en-gb': require('./locales/en-gb.json'),\n 'es': require('./locales/es.json'),\n 'el': require('./locales/el.json'),\n 'fr': require('./locales/fr.json'),\n 'hu': require('./locales/hu.json'),\n //'id': require('./locales/id.json'),\n 'it': require('./locales/it.json'),\n 'nl': require('./locales/nl.json'),\n 'nb': require('./locales/nb.json'),\n 'pl': require('./locales/pl.json'),\n 'fi': require('./locales/fi.json'),\n 'pt-br': require('./locales/pt-br.json'),\n 'pt-pt': require('./locales/pt.json'),\n 'ro': require('./locales/ro.json'),\n 'ru': require('./locales/ru.json'),\n //'zh': require('./locales/zh.json'),\n 'zh-tw': require('./locales/zh-tw.json'),\n 'zh-cn': require('./locales/zh-cn.json'),\n 'sk': require('./locales/sk.json'),\n 'sv': require('./locales/sv.json'),\n 'vi': require('./locales/vi.json'),\n }\n});\n","<!--\n - Edit.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <Alert :message=\"errorMessage\" type=\"danger\"/>\n <Alert :message=\"successMessage\" type=\"success\"/>\n <Alert :message=\"warningMessage\" type=\"warning\"/>\n <SplitPills :transactions=\"transactions\"/>\n\n <div class=\"tab-content\">\n <SplitForm\n v-for=\"(transaction, index) in this.transactions\"\n v-bind:key=\"index\"\n :count=\"transactions.length\"\n :transaction=\"transaction\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :custom-fields=\"customFields\"\n :date=\"date\"\n :time=\"time\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :allow-switch=\"false\"\n :submitted-transaction=\"submittedTransaction\"\n v-on:uploaded-attachments=\"uploadedAttachment($event)\"\n v-on:set-marker-location=\"storeLocation($event)\"\n v-on:set-account=\"storeAccountValue($event)\"\n v-on:set-date=\"storeDate($event)\"\n v-on:set-time=\"storeTime($event)\"\n v-on:set-field=\"storeField($event)\"\n v-on:remove-transaction=\"removeTransaction($event)\"\n v-on:selected-attachments=\"selectedAttachments($event)\"\n />\n </div>\n\n <!-- bottom buttons etc -->\n <div class=\"row\">\n <!-- group title -->\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <div v-if=\"transactions.length > 1\" class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <TransactionGroupTitle v-model=\"this.groupTitle\" :errors=\"this.groupTitleErrors\" v-on:set-group-title=\"storeGroupTitle($event)\"/>\n </div>\n </div>\n </div>\n </div>\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <!-- buttons -->\n <div class=\"card\">\n <div class=\"card-body\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\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 &nbsp;\n </div>\n <button :disabled=\"!enableSubmit\" class=\"btn btn-info btn-block\" @click=\"submitTransaction\">\n <span v-if=\"enableSubmit\"><i class=\"far fa-save\"></i> {{ $t('firefly.update_transaction') }}</span>\n <span v-if=\"!enableSubmit\"><i class=\"fas fa-spinner fa-spin\"></i></span>\n </button>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n &nbsp;\n </div>\n <div class=\"col\">\n <div class=\"form-check\">\n <input id=\"stayHere\" v-model=\"stayHere\" class=\"form-check-input\" type=\"checkbox\">\n <label class=\"form-check-label\" for=\"stayHere\">\n <span class=\"small\">{{ $t('firefly.after_update_create_another') }}</span>\n </label>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\nimport Alert from '../partials/Alert';\nimport SplitPills from \"./SplitPills\";\nimport SplitForm from \"./SplitForm\";\nimport TransactionGroupTitle from \"./TransactionGroupTitle\";\nimport {getDefaultErrors, getDefaultTransaction, toW3CString} from '../shared/transactions';\n\nexport default {\n name: \"Edit\",\n created() {\n let parts = window.location.pathname.split('/');\n this.groupId = parseInt(parts[parts.length - 1]);\n\n this.getTransactionGroup();\n this.getAllowedOpposingTypes();\n this.getCustomFields();\n },\n data() {\n return {\n successMessage: '',\n errorMessage: '',\n warningMessage: '',\n\n // transaction props\n transactions: [],\n originalTransactions: [],\n groupTitle: '',\n originalGroupTitle: '',\n transactionType: 'any',\n groupId: 0,\n\n // errors in the group title:\n groupTitleErrors: [],\n\n // which custom fields to show\n customFields: {},\n\n // group ID + title once submitted:\n returnedGroupId: 0,\n returnedGroupTitle: '',\n\n // date and time of the transaction,\n date: new Date,\n time: new Date,\n originalDate: new Date,\n originalTime: new Date,\n\n // things the process is done working on (3 phases):\n submittedTransaction: false,\n submittedLinks: false,\n submittedAttachments: false,\n inError: false,\n\n // meta data for accounts\n allowedOpposingTypes: {},\n destinationAllowedTypes: [],\n sourceAllowedTypes: [],\n\n // states for the form (makes sense right)\n enableSubmit: true,\n stayHere: false,\n\n }\n },\n components: {\n Alert,\n SplitPills,\n SplitForm,\n TransactionGroupTitle\n },\n\n watch: {\n submittedTransaction: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedLinks: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n },\n submittedAttachments: function () {\n // see finalizeSubmit()\n this.finalizeSubmit();\n }\n },\n\n methods: {\n /**\n * Grap transaction group from URL and submit GET.\n */\n getTransactionGroup: function () {\n axios.get('./api/v1/transactions/' + this.groupId)\n .then(response => {\n this.parseTransactionGroup(response.data);\n }\n ).catch(error => {\n // console.log('I failed :(');\n // console.log(error);\n });\n },\n /**\n * Parse transaction group. Title is easy, transactions have their own method.\n * @param response\n */\n parseTransactionGroup: function (response) {\n // console.log('Will now parse');\n // console.log(response);\n let attributes = response.data.attributes;\n let transactions = attributes.transactions.reverse();\n this.groupTitle = attributes.group_title;\n this.originalGroupTitle = attributes.group_title;\n\n for (let i in transactions) {\n if (transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let result = this.parseTransaction(parseInt(i), transactions[i]);\n this.transactions.push(result);\n this.originalTransactions.push(lodashClonedeep(result));\n // pick up the links of this transaction:\n this.parseLinks(parseInt(result.transaction_journal_id), parseInt(i));\n }\n }\n },\n /**\n * Parse a single transaction.\n *\n * @param index\n * @param array\n */\n parseTransaction: function (index, array) {\n //console.log('index: ' + index);\n if (0 === index) {\n this.transactionType = array.type.charAt(0).toUpperCase() + array.type.slice(1);\n this.sourceAllowedTypes = [array.source_type];\n this.destinationAllowedTypes = [array.destination_type];\n this.date = new Date(array.date);\n this.time = new Date(array.date);\n this.originalDate = new Date(array.date);\n this.originalTime = new Date(array.date);\n }\n let result = getDefaultTransaction();\n // parsing here:\n result.description = array.description;\n result.transaction_journal_id = parseInt(array.transaction_journal_id);\n // accounts:\n result.source_account_id = array.source_id;\n result.source_account_name = array.source_name;\n result.source_account_type = array.source_type;\n\n result.destination_account_id = array.destination_id;\n result.destination_account_name = array.destination_name;\n result.destination_account_type = array.destination_type;\n\n // amount:\n result.amount = array.amount;\n result.currency_id = array.currency_id;\n result.foreign_amount = array.foreign_amount;\n result.foreign_currency_id = array.foreign_currency_id;\n\n // meta data\n result.category = array.category_name;\n result.budget_id = array.budget_id;\n result.bill_id = array.bill_id ?? 0;\n\n result.tags = array.tags;\n\n // optional date fields (6x):\n result.interest_date = array.interest_date ? array.interest_date.substr(0, 10) : '';\n result.book_date = array.book_date ? array.book_date.substr(0, 10) : '';\n result.process_date = array.process_date ? array.process_date.substr(0, 10) : '';\n result.due_date = array.due_date ? array.due_date.substr(0, 10) : '';\n result.payment_date = array.payment_date ? array.payment_date.substr(0, 10) : '';\n result.invoice_date = array.invoice_date ? array.invoice_date.substr(0, 10) : '';\n\n // optional other fields:\n result.internal_reference = array.internal_reference;\n result.external_url = array.external_uri;\n result.external_id = array.external_id;\n result.notes = array.notes;\n // location:\n result.location = {\n zoom_level: array.zoom_level,\n longitude: array.longitude,\n latitude: array.latitude,\n };\n result.zoom_level = array.zoom_level;\n result.longitude = array.longitude;\n result.latitude = array.latitude;\n\n // error handling\n result.errors = getDefaultErrors();\n return result;\n },\n /**\n * Get the links of this transaction group from the API.\n */\n parseLinks: function (journalId, index) {\n axios.get('./api/v1/transaction-journals/' + journalId + '/links')\n .then(response => {\n let links = response.data.data;\n for (let i in links) {\n if (links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.parseLink(links[i], journalId, index);\n }\n }\n });\n },\n\n /**\n * Process individual link from the API.\n */\n parseLink: function (link, journalId, index) {\n let promises = [];\n let opposingId = parseInt(link.attributes.inward_id);\n let linkDirection = 'inward';\n if (opposingId === journalId) {\n opposingId = parseInt(link.attributes.outward_id);\n linkDirection = 'outward';\n }\n // add meta data to promise context.\n promises.push(new Promise((resolve) => {\n resolve(\n {\n link: link,\n journalId: journalId,\n opposingId: opposingId,\n index: index,\n direction: linkDirection\n }\n );\n }));\n\n // get stuff from the API:\n promises.push(axios.get('./api/v1/transaction-journals/' + opposingId));\n promises.push(axios.get('./api/v1/transaction_links/' + link.attributes.link_type_id));\n\n Promise.all(promises).then(responses => {\n let journals = responses[1].data.data.attributes.transactions;\n let opposingId = responses[0].opposingId;\n let journal = {};\n // loop over journals to get the correct one:\n for (let i in journals) {\n if (journals.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (journals[i].transaction_journal_id === opposingId) {\n journal = journals[i];\n }\n }\n }\n let index = responses[0].index;\n let direction = responses[0].direction;\n let linkTypeId = responses[2].data.data.id;\n let object = {\n id: link.id,\n link_type_id: linkTypeId + '-' + direction,\n transaction_group_id: responses[1].data.data.id,\n transaction_journal_id: journal.transaction_journal_id,\n description: journal.description,\n type: journal.type,\n currency_code: journal.currency_code,\n amount: journal.amount\n };\n this.transactions[index].links.push(object);\n this.originalTransactions[index].links.push(object);\n });\n },\n /**\n * TODO same method as Create\n * Get API value.\n */\n getAllowedOpposingTypes: function () {\n axios.get('./api/v1/configuration/firefly.allowed_opposing_types')\n .then(response => {\n this.allowedOpposingTypes = response.data.data.value;\n // console.log('Set allowedOpposingTypes');\n });\n },\n /**\n * Get API value.\n */\n getCustomFields: function () {\n axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {\n this.customFields = response.data.data.attributes.data;\n });\n },\n uploadedAttachment: function (payload) {\n console.log('event: uploadedAttachment');\n console.log(payload);\n },\n storeLocation: function (payload) {\n this.transactions[payload.index].zoom_level = payload.zoomLevel;\n this.transactions[payload.index].longitude = payload.lng;\n this.transactions[payload.index].latitude = payload.lat;\n },\n storeAccountValue: function (payload) {\n let direction = payload.direction;\n let index = payload.index;\n this.transactions[index][direction + '_account_id'] = payload.id;\n this.transactions[index][direction + '_account_type'] = payload.type;\n this.transactions[index][direction + '_account_name'] = payload.name;\n },\n storeDate: function (payload) {\n // console.log('event: storeDate');\n // console.log(payload);\n this.date = payload.date;\n },\n storeTime: function (payload) {\n this.time = payload.time;\n // console.log('event: storeTime');\n // console.log(payload);\n },\n storeField: function (payload) {\n let field = payload.field;\n if ('category' === field) {\n field = 'category_name';\n }\n // console.log('event: storeField(' + field + ')');\n this.transactions[payload.index][field] = payload.value;\n\n },\n removeTransaction: function (payload) {\n this.transactions.splice(payload.index, 1);\n // this kills the original transactions.\n this.originalTransactions = [];\n },\n storeGroupTitle: function (payload) {\n this.groupTitle = payload;\n },\n selectedAttachments: function (payload) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (parseInt(this.transactions[i].transaction_journal_id) === parseInt(payload)) {\n // console.log('selectedAttachments ' + payload);\n this.transactions[i].selectedAttachments = true;\n }\n }\n }\n },\n addTransaction: function () {\n let newTransaction = getDefaultTransaction();\n newTransaction.errors = getDefaultErrors();\n this.transactions.push(newTransaction);\n },\n submitTransaction: function () {\n let submission = {transactions: []};\n let shouldSubmit = false;\n let shouldLinks = false;\n let shouldUpload = false;\n if (this.groupTitle !== this.originalGroupTitle) {\n submission.group_title = this.groupTitle;\n shouldSubmit = true;\n }\n let transactionCount = this.originalTransactions.length;\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n\n let diff = {};\n\n // compare basic fields:\n let basicFields = [\n 'description',\n 'source_account_id', 'source_account_name',\n 'destination_account_id', 'destination_account_name',\n 'amount', 'foreign_amount', 'foreign_currency_id',\n 'category_name', 'budget_id', 'bill_id',\n 'interest_date', 'book_date', 'due_date', 'payment_date', 'invoice_date',\n 'external_url', 'internal_reference', 'external_id', 'notes',\n 'zoom_level', 'longitude', 'latitude'\n ];\n\n for (let ii in basicFields) {\n if (basicFields.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let fieldName = basicFields[ii];\n if (currentTransaction[fieldName] !== originalTransaction[fieldName]) {\n // console.log('Index ' + i + ': Field ' + fieldName + ' updated (\"' + originalTransaction[fieldName] + '\" > \"' + currentTransaction[fieldName] + '\")');\n // console.log(originalTransaction[fieldName]);\n // console.log(currentTransaction[fieldName]);\n diff[fieldName] = currentTransaction[fieldName];\n shouldSubmit = true;\n }\n }\n }\n if (0 !== currentTransaction.piggy_bank_id) {\n diff.piggy_bank_id = currentTransaction.piggy_bank_id;\n shouldSubmit = true;\n }\n if (JSON.stringify(currentTransaction.tags) !== JSON.stringify(originalTransaction.tags)) {\n // console.log('tags are different');\n // console.log(currentTransaction.tags);\n // console.log(originalTransaction.tags);\n diff.tags = [];//currentTransaction.tags;\n\n if (0 !== currentTransaction.tags.length) {\n for (let ii in currentTransaction.tags) {\n if (currentTransaction.tags.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n // array.tags\n let currentTag = currentTransaction.tags[ii];\n if(typeof currentTag === 'object' && null !== currentTag) {\n diff.tags.push(currentTag.text);\n }\n if(typeof currentTag === 'string') {\n diff.tags.push(currentTag);\n }\n }\n }\n }\n\n shouldSubmit = true;\n }\n\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n // console.log('links are?');\n // console.log(newLinks);\n // console.log(originalLinks);\n if (newLinks !== originalLinks) {\n // console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n shouldLinks = true;\n }\n // this.transactions[i].selectedAttachments\n // console.log(typeof currentTransaction.selectedAttachments);\n // console.log(currentTransaction.selectedAttachments);\n if (typeof currentTransaction.selectedAttachments !== 'undefined' && true === currentTransaction.selectedAttachments) {\n // must upload!\n shouldUpload = true;\n }\n\n let dateStr = 'invalid';\n if (\n this.date.toISOString() !== this.originalDate.toISOString() ||\n this.time.toISOString() !== this.originalTime.toISOString()\n ) {\n console.log('Date and/or time is changed');\n // set date and time!\n shouldSubmit = true;\n let theDate = this.date;\n // update time in date object.\n theDate.setHours(this.time.getHours());\n theDate.setMinutes(this.time.getMinutes());\n theDate.setSeconds(this.time.getSeconds());\n dateStr = toW3CString(theDate);\n diff.date = dateStr;\n }\n if (Object.keys(diff).length === 0 && transactionCount > 1) {\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n } else if (Object.keys(diff).length !== 0) {\n diff.transaction_journal_id = originalTransaction.transaction_journal_id;\n submission.transactions.push(lodashClonedeep(diff));\n shouldSubmit = true;\n }\n }\n }\n\n console.log('submitTransaction');\n console.log('shouldUpload : ' + shouldUpload);\n console.log('shouldLinks : ' + shouldLinks);\n console.log('shouldSubmit : ' + shouldSubmit);\n if (shouldSubmit) {\n this.submitUpdate(submission, shouldLinks, shouldUpload);\n }\n if (!shouldSubmit) {\n this.submittedTransaction = true;\n }\n if (!shouldLinks) {\n this.submittedLinks = true;\n }\n if (!shouldUpload) {\n this.submittedAttachments = true;\n }\n if (!shouldSubmit && shouldLinks) {\n this.submitTransactionLinks();\n }\n\n if (!shouldSubmit && shouldLinks) {\n // TODO\n //this.submittedAttachments();\n }\n console.log('Done with submit methd.');\n //console.log(submission);\n },\n compareLinks: function (array) {\n let compare = [];\n for (let i in array) {\n if (array.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n compare.push(\n {\n amount: array[i].amount,\n currency_code: array[i].currency_code,\n description: array[i].description,\n link_type_id: array[i].link_type_id,\n transaction_group_id: array[i].transaction_group_id,\n type: array[i].type,\n }\n );\n }\n }\n // console.log('compareLinks');\n // console.log(compare);\n return JSON.stringify(compare);\n },\n submitUpdate: function (submission, shouldLinks, shouldUpload) {\n console.log('submitUpdate');\n this.inError = false;\n const url = './api/v1/transactions/' + this.groupId;\n console.log(submission);\n axios.put(url, submission)\n .then(response => {\n console.log('Response is OK!');\n // report the transaction is submitted.\n this.submittedTransaction = true;\n\n // submit links and attachments (can only be done when the transaction is created)\n if (shouldLinks) {\n console.log('Need to update links.');\n this.submitTransactionLinks();\n }\n if (!shouldLinks) {\n console.log('No need to update links.');\n }\n // TODO attachments:\n // this.submitAttachments(data, response);\n //\n // // meanwhile, store the ID and the title in some easy to access variables.\n this.returnedGroupId = parseInt(response.data.data.id);\n this.returnedGroupTitle = null === response.data.data.attributes.group_title ? response.data.data.attributes.transactions[0].description : response.data.data.attributes.group_title;\n }\n )\n .catch(error => {\n console.log('error :(');\n console.log(error.response.data);\n // oh noes Firefly III has something to bitch about.\n this.enableSubmit = true;\n // report the transaction is submitted.\n this.submittedTransaction = true;\n // // also report attachments and links are submitted:\n this.submittedAttachments = true;\n this.submittedLinks = true;\n //\n // but report an error because error:\n this.inError = true;\n this.parseErrors(error.response.data);\n }\n );\n },\n parseErrors: function (errors) {\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n this.resetErrors({index: i});\n }\n }\n this.successMessage = '';\n this.errorMessage = this.$t('firefly.errors_submission');\n if (typeof errors.errors === 'undefined') {\n this.successMessage = '';\n this.errorMessage = errors.message;\n }\n\n let payload;\n let transactionIndex;\n let fieldName;\n\n // fairly basic way of exploding the error array.\n for (const key in errors.errors) {\n // console.log('Error index: \"' + key + '\"');\n if (errors.errors.hasOwnProperty(key)) {\n if (key === 'group_title') {\n this.groupTitleErrors = errors.errors[key];\n continue;\n }\n if (key !== 'group_title') {\n // lol dumbest way to explode \"transactions.0.something\" ever.\n transactionIndex = parseInt(key.split('.')[1]);\n\n fieldName = key.split('.')[2];\n\n // set error in this object thing.\n // console.log('The errors in key \"' + key + '\" are');\n // console.log(errors.errors[key]);\n switch (fieldName) {\n case 'amount':\n case 'description':\n case 'date':\n case 'tags':\n payload = {index: transactionIndex, field: fieldName, errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'budget_id':\n payload = {index: transactionIndex, field: 'budget', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'bill_id':\n payload = {index: transactionIndex, field: 'bill', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'piggy_bank_id':\n payload = {index: transactionIndex, field: 'piggy_bank', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'category_name':\n payload = {index: transactionIndex, field: 'category', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'source_name':\n case 'source_id':\n payload = {index: transactionIndex, field: 'source', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'destination_name':\n case 'destination_id':\n payload = {index: transactionIndex, field: 'destination', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n case 'foreign_amount':\n case 'foreign_currency':\n payload = {index: transactionIndex, field: 'foreign_amount', errors: errors.errors[key]};\n this.setTransactionError(payload);\n break;\n }\n }\n // unique some things\n if (typeof this.transactions[transactionIndex] !== 'undefined') {\n //this.transactions[transactionIndex].errors.source = Array.from(new Set(this.transactions[transactionIndex].errors.source));\n //this.transactions[transactionIndex].errors.destination = Array.from(new Set(this.transactions[transactionIndex].errors.destination));\n }\n\n }\n }\n },\n setTransactionError: function (payload) {\n this.transactions[payload.index].errors[payload.field] = payload.errors;\n },\n resetErrors(payload) {\n this.transactions[payload.index].errors = lodashClonedeep(getDefaultErrors());\n },\n\n deleteOriginalLinks: function (transaction) {\n console.log(transaction.links);\n for (let i in transaction.links) {\n if (transaction.links.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n let current = transaction.links[i];\n let url = '/api/v1/transaction_links/' + current.id;\n axios.delete(url).then(response => {\n // TODO response\n });\n }\n }\n },\n\n /**\n * Submit transaction links.\n * TODO same method as CREATE\n */\n submitTransactionLinks() {\n let total = 0;\n let promises = [];\n\n console.log('submitTransactionLinks()');\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n // original transaction present?\n let currentTransaction = this.transactions[i];\n let originalTransaction = this.originalTransactions.hasOwnProperty(i) ? this.originalTransactions[i] : {};\n // compare links:\n let newLinks = this.compareLinks(currentTransaction.links);\n let originalLinks = this.compareLinks(originalTransaction.links);\n if (newLinks !== originalLinks) {\n if ('[]' !== originalLinks) {\n this.deleteOriginalLinks(originalTransaction);\n }\n\n console.log('links are different!');\n // console.log(newLinks);\n // console.log(originalLinks);\n for (let ii in currentTransaction.links) {\n if (currentTransaction.links.hasOwnProperty(ii) && /^0$|^[1-9]\\d*$/.test(ii) && ii <= 4294967294) {\n let currentLink = currentTransaction.links[ii];\n let linkObject = {\n inward_id: currentTransaction.transaction_journal_id,\n outward_id: currentTransaction.transaction_journal_id,\n link_type_id: 'something'\n };\n\n let parts = currentLink.link_type_id.split('-');\n linkObject.link_type_id = parts[0];\n if ('inward' === parts[1]) {\n linkObject.inward_id = currentLink.transaction_journal_id;\n }\n if ('outward' === parts[1]) {\n linkObject.outward_id = currentLink.transaction_journal_id;\n }\n\n console.log(linkObject);\n total++;\n // submit transaction link:\n promises.push(axios.post('./api/v1/transaction_links', linkObject).then(response => {\n // TODO error handling.\n }));\n }\n }\n // shouldLinks = true;\n }\n\n }\n }\n if (0 === total) {\n this.submittedLinks = true;\n return;\n }\n Promise.all(promises).then(function () {\n this.submittedLinks = true;\n });\n },\n finalizeSubmit: function () {\n console.log('now in finalizeSubmit()');\n console.log('submittedTransaction : ' + this.submittedTransaction);\n console.log('submittedLinks : ' + this.submittedLinks);\n console.log('submittedAttachments : ' + this.submittedAttachments);\n\n if (this.submittedTransaction && this.submittedAttachments && this.submittedLinks) {\n console.log('all true');\n console.log('inError = ' + this.inError);\n console.log('stayHere = ' + this.stayHere);\n console.log('returnedGroupId = ' + this.returnedGroupId);\n\n // no error + no changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + no redirect');\n // show message:\n this.errorMessage = '';\n this.successMessage = '';\n // maybe nothing changed in post\n this.warningMessage = this.$t('firefly.transaction_updated_no_changes', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + no changes + redirect\n if (false === this.stayHere && false === this.inError && 0 === this.returnedGroupId) {\n console.log('no error + no changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=no_change';\n }\n // no error + changes + no redirect\n if (true === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n // show message:\n this.errorMessage = '';\n this.warningMessage = '';\n // maybe nothing changed in post\n this.successMessage = this.$t('firefly.transaction_updated_link', {ID: this.returnedGroupId, title: this.returnedGroupTitle});\n }\n\n // no error + changes + redirect\n if (false === this.stayHere && false === this.inError && 0 !== this.returnedGroupId) {\n console.log('no error + changes + redirect');\n window.location.href = (window.previousURL ?? '/') + '?transaction_group_id=' + this.groupId + '&message=updated';\n }\n console.log('end of the line');\n // enable flags:\n this.enableSubmit = true;\n this.submittedTransaction = false;\n this.submittedLinks = false;\n this.submittedAttachments = false;\n this.inError = false;\n\n // reset attachments (always do this)\n for (let i in this.transactions) {\n if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n if (this.transactions.hasOwnProperty(i)) {\n // TODO\n }\n }\n }\n }\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Edit.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Edit.vue?vue&type=template&id=17cb1c2b&scoped=true&\"\nimport script from \"./Edit.vue?vue&type=script&lang=js&\"\nexport * from \"./Edit.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"17cb1c2b\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('Alert',{attrs:{\"message\":_vm.errorMessage,\"type\":\"danger\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.successMessage,\"type\":\"success\"}}),_vm._v(\" \"),_c('Alert',{attrs:{\"message\":_vm.warningMessage,\"type\":\"warning\"}}),_vm._v(\" \"),_c('SplitPills',{attrs:{\"transactions\":_vm.transactions}}),_vm._v(\" \"),_c('div',{staticClass:\"tab-content\"},_vm._l((this.transactions),function(transaction,index){return _c('SplitForm',{key:index,attrs:{\"count\":_vm.transactions.length,\"transaction\":transaction,\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"custom-fields\":_vm.customFields,\"date\":_vm.date,\"time\":_vm.time,\"index\":index,\"transaction-type\":_vm.transactionType,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"source-allowed-types\":_vm.sourceAllowedTypes,\"allow-switch\":false,\"submitted-transaction\":_vm.submittedTransaction},on:{\"uploaded-attachments\":function($event){return _vm.uploadedAttachment($event)},\"set-marker-location\":function($event){return _vm.storeLocation($event)},\"set-account\":function($event){return _vm.storeAccountValue($event)},\"set-date\":function($event){return _vm.storeDate($event)},\"set-time\":function($event){return _vm.storeTime($event)},\"set-field\":function($event){return _vm.storeField($event)},\"remove-transaction\":function($event){return _vm.removeTransaction($event)},\"selected-attachments\":function($event){return _vm.selectedAttachments($event)}}})}),1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(_vm.transactions.length > 1)?_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionGroupTitle',{attrs:{\"errors\":this.groupTitleErrors},on:{\"set-group-title\":function($event){return _vm.storeGroupTitle($event)}},model:{value:(this.groupTitle),callback:function ($$v) {_vm.$set(this, \"groupTitle\", $$v)},expression:\"this.groupTitle\"}})],1)])])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-outline-primary btn-block\",on:{\"click\":_vm.addTransaction}},[_c('i',{staticClass:\"far fa-clone\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.add_another_split'))+\"\\n \")])]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('button',{staticClass:\"btn btn-info btn-block\",attrs:{\"disabled\":!_vm.enableSubmit},on:{\"click\":_vm.submitTransaction}},[(_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"far fa-save\"}),_vm._v(\" \"+_vm._s(_vm.$t('firefly.update_transaction')))]):_vm._e(),_vm._v(\" \"),(!_vm.enableSubmit)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e()])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_vm._v(\"\\n  \\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"form-check\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.stayHere),expression:\"stayHere\"}],staticClass:\"form-check-input\",attrs:{\"id\":\"stayHere\",\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(_vm.stayHere)?_vm._i(_vm.stayHere,null)>-1:(_vm.stayHere)},on:{\"change\":function($event){var $$a=_vm.stayHere,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.stayHere=$$a.concat([$$v]))}else{$$i>-1&&(_vm.stayHere=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.stayHere=$$c}}}}),_vm._v(\" \"),_c('label',{staticClass:\"form-check-label\",attrs:{\"for\":\"stayHere\"}},[_c('span',{staticClass:\"small\"},[_vm._v(_vm._s(_vm.$t('firefly.after_update_create_another')))])])])])])])])])])],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","/*\n * edit.js\n * Copyright (c) 2020 [email protected]\n *\n * This file is part of Firefly III (https://github.com/firefly-iii).\n *\n * This program is free software: you can redistribute it and/or modify\n * it under the terms of the GNU Affero General Public License as\n * published by the Free Software Foundation, either version 3 of the\n * License, or (at your option) any later version.\n *\n * This program is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n * GNU Affero General Public License for more details.\n *\n * You should have received a copy of the GNU Affero General Public License\n * along with this program. If not, see <https://www.gnu.org/licenses/>.\n */\n\nimport store from \"../../components/store\";\nimport Edit from \"../../components/transactions/Edit\";\nimport Vue from \"vue\";\n\nrequire('../../bootstrap');\n\nVue.config.productionTip = false;\n// i18n\nlet i18n = require('../../i18n');\n\nlet props = {};\nnew Vue({\n i18n,\n store,\n render(createElement) {\n return createElement(Edit, {props: props});\n },\n beforeCreate() {\n this.$store.commit('initialiseStore');\n this.$store.dispatch('updateCurrencyPreference');\n },\n }).$mount('#transactions_edit');\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/cssWithMappingToString.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".vue-tags-input{max-width:100%!important;display:block}.ti-input,.vue-tags-input{width:100%;border-radius:.25rem}.ti-input{max-width:100%}.ti-new-tag-input{font-size:1rem}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/components/transactions/TransactionTags.vue\"],\"names\":[],\"mappings\":\"AA2HA,gBAEA,wBAAA,CACA,aAEA,CAEA,0BANA,UAAA,CAGA,oBAOA,CAJA,UAEA,cAEA,CAEA,kBACA,cACA\",\"sourcesContent\":[\"<!--\\n - TransactionTags.vue\\n - Copyright (c) 2021 [email protected]\\n -\\n - This file is part of Firefly III (https://github.com/firefly-iii).\\n -\\n - This program is free software: you can redistribute it and/or modify\\n - it under the terms of the GNU Affero General Public License as\\n - published by the Free Software Foundation, either version 3 of the\\n - License, or (at your option) any later version.\\n -\\n - This program is distributed in the hope that it will be useful,\\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\\n - GNU Affero General Public License for more details.\\n -\\n - You should have received a copy of the GNU Affero General Public License\\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\\n -->\\n\\n<template>\\n <div class=\\\"form-group\\\">\\n <div class=\\\"text-xs d-none d-lg-block d-xl-block\\\">\\n {{ $t('firefly.tags') }}\\n </div>\\n <div class=\\\"input-group\\\">\\n <vue-tags-input\\n v-model=\\\"currentTag\\\"\\n :add-only-from-autocomplete=\\\"false\\\"\\n :autocomplete-items=\\\"autocompleteItems\\\"\\n :tags=\\\"tags\\\"\\n :title=\\\"$t('firefly.tags')\\\"\\n v-bind:placeholder=\\\"$t('firefly.tags')\\\"\\n @tags-changed=\\\"newTags => this.tags = newTags\\\"\\n />\\n </div>\\n <span v-if=\\\"errors.length > 0\\\">\\n <span v-for=\\\"error in errors\\\" class=\\\"text-danger small\\\">{{ error }}<br/></span>\\n </span>\\n </div>\\n</template>\\n\\n<script>\\nimport VueTagsInput from \\\"@johmun/vue-tags-input\\\";\\nimport axios from \\\"axios\\\";\\n\\nexport default {\\n name: \\\"TransactionTags\\\",\\n components: {\\n VueTagsInput\\n },\\n props: ['value', 'index', 'errors'],\\n data() {\\n return {\\n autocompleteItems: [],\\n debounce: null,\\n tags: [],\\n currentTag: '',\\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\\n tagList: this.value,\\n emitEvent: true\\n };\\n },\\n created() {\\n let tags = [];\\n for (let i in this.value) {\\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\\\d*$/.test(i) && i <= 4294967294) {\\n tags.push({text: this.value[i]});\\n }\\n }\\n this.updateTags = false;\\n this.tags = tags;\\n },\\n watch: {\\n 'currentTag': 'initItems',\\n value: function (value) {\\n this.emitEvent = false;\\n this.tagList = value;\\n },\\n tagList: function (value) {\\n console.log('watch tagList');\\n if (true === this.emitEvent) {\\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\\n }\\n this.emitEvent = true;\\n this.updateTags = false;\\n this.tags = value;\\n },\\n tags: function (value) {\\n if (this.updateTags) {\\n let shortList = [];\\n for (let key in value) {\\n if (value.hasOwnProperty(key)) {\\n shortList.push({text: value[key].text});\\n }\\n }\\n this.tagList = shortList;\\n }\\n this.updateTags = true;\\n }\\n },\\n methods: {\\n initItems() {\\n if (this.currentTag.length < 2) {\\n return;\\n }\\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\\n\\n clearTimeout(this.debounce);\\n this.debounce = setTimeout(() => {\\n axios.get(url).then(response => {\\n this.autocompleteItems = response.data.map(item => {\\n return {text: item.tag};\\n });\\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\\n }, 300);\\n },\\n },\\n\\n\\n}\\n</script>\\n<style>\\n.vue-tags-input {\\n width: 100%;\\n max-width: 100% !important;\\n display: block;\\n border-radius: 0.25rem;\\n}\\n\\n.ti-input {\\n border-radius: 0.25rem;\\n max-width: 100%;\\n width: 100%;\\n}\\n\\n.ti-new-tag-input {\\n font-size: 1rem;\\n}\\n</style>\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","<!--\n - Alert.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n<template>\n <div v-if=\"message.length > 0\" :class=\"'alert alert-' + type + ' alert-dismissible'\">\n <button aria-hidden=\"true\" class=\"close\" data-dismiss=\"alert\" type=\"button\">×</button>\n <h5>\n <i v-if=\"'danger' === type\" class=\"icon fas fa-ban\"></i>\n <i v-if=\"'success' === type\" class=\"icon fas fa-thumbs-up\"></i>\n <span v-if=\"'danger' === type\">{{ $t(\"firefly.flash_error\") }}</span>\n <span v-if=\"'success' === type\">{{ $t(\"firefly.flash_success\") }}</span>\n </h5>\n <span v-html=\"message\"></span>\n </div>\n</template>\n<script>\nexport default {\n name: \"Alert\",\n props: ['message', 'type']\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Alert.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./Alert.vue?vue&type=template&id=df266c68&\"\nimport script from \"./Alert.vue?vue&type=script&lang=js&\"\nexport * from \"./Alert.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.message.length > 0)?_c('div',{class:'alert alert-' + _vm.type + ' alert-dismissible'},[_c('button',{staticClass:\"close\",attrs:{\"aria-hidden\":\"true\",\"data-dismiss\":\"alert\",\"type\":\"button\"}},[_vm._v(\"×\")]),_vm._v(\" \"),_c('h5',[('danger' === _vm.type)?_c('i',{staticClass:\"icon fas fa-ban\"}):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('i',{staticClass:\"icon fas fa-thumbs-up\"}):_vm._e(),_vm._v(\" \"),('danger' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_error\")))]):_vm._e(),_vm._v(\" \"),('success' === _vm.type)?_c('span',[_vm._v(_vm._s(_vm.$t(\"firefly.flash_success\")))]):_vm._e()]),_vm._v(\" \"),_c('span',{domProps:{\"innerHTML\":_vm._s(_vm.message)}})]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{class:'tab-pane' + (0===_vm.index ? ' active' : ''),attrs:{\"id\":'split_' + _vm.index}},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.basic_journal_information'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()]),_vm._v(\" \"),(_vm.count>1)?_c('div',{staticClass:\"card-tools\"},[_c('button',{staticClass:\"btn btn-danger btn-xs\",on:{\"click\":_vm.removeTransaction}},[_c('i',{staticClass:\"fas fa-trash-alt\"})])]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('TransactionDescription',_vm._g({attrs:{\"errors\":_vm.transaction.errors.description,\"index\":_vm.index},model:{value:(_vm.transaction.description),callback:function ($$v) {_vm.$set(_vm.transaction, \"description\", $$v)},expression:\"transaction.description\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.source,\"index\":_vm.index,\"source-allowed-types\":_vm.sourceAllowedTypes,\"transaction-type\":_vm.transactionType,\"direction\":\"source\"},model:{value:(_vm.sourceAccount),callback:function ($$v) {_vm.sourceAccount=$$v},expression:\"sourceAccount\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[(0 === _vm.index && _vm.allowSwitch)?_c('SwitchAccount',_vm._g({attrs:{\"index\":_vm.index,\"transaction-type\":_vm.transactionType}},_vm.$listeners)):_vm._e()],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAccount',_vm._g({attrs:{\"allowed-opposing-types\":_vm.allowedOpposingTypes,\"destination-allowed-types\":_vm.destinationAllowedTypes,\"errors\":_vm.transaction.errors.destination,\"index\":_vm.index,\"transaction-type\":_vm.transactionType,\"source-allowed-types\":_vm.sourceAllowedTypes,\"direction\":\"destination\"},model:{value:(_vm.destinationAccount),callback:function ($$v) {_vm.destinationAccount=$$v},expression:\"destinationAccount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\"},[_c('TransactionAmount',_vm._g({attrs:{\"amount\":_vm.transaction.amount,\"destination-currency-symbol\":this.transaction.destination_account_currency_symbol,\"errors\":_vm.transaction.errors.amount,\"index\":_vm.index,\"source-currency-symbol\":this.transaction.source_account_currency_symbol,\"transaction-type\":this.transactionType}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\"},[_c('TransactionForeignCurrency',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_currency_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_currency_id\", $$v)},expression:\"transaction.foreign_currency_id\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionForeignAmount',_vm._g({attrs:{\"destination-currency-id\":this.transaction.destination_account_currency_id,\"errors\":_vm.transaction.errors.foreign_amount,\"index\":_vm.index,\"selected-currency-id\":this.transaction.foreign_currency_id,\"source-currency-id\":this.transaction.source_account_currency_id,\"transaction-type\":this.transactionType},model:{value:(_vm.transaction.foreign_amount),callback:function ($$v) {_vm.$set(_vm.transaction, \"foreign_amount\", $$v)},expression:\"transaction.foreign_amount\"}},_vm.$listeners))],1)]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionDate',_vm._g({attrs:{\"date\":_vm.splitDate,\"errors\":_vm.transaction.errors.date,\"index\":_vm.index,\"time\":_vm.splitTime}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\"},[_c('TransactionCustomDates',_vm._g({attrs:{\"book-date\":_vm.transaction.book_date,\"custom-fields\":_vm.customFields,\"due-date\":_vm.transaction.due_date,\"errors\":_vm.transaction.errors.custom_dates,\"index\":_vm.index,\"interest-date\":_vm.transaction.interest_date,\"invoice-date\":_vm.transaction.invoice_date,\"payment-date\":_vm.transaction.payment_date,\"process-date\":_vm.transaction.process_date},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}}},_vm.$listeners))],1)])])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_meta'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBudget',_vm._g({attrs:{\"errors\":_vm.transaction.errors.budget,\"index\":_vm.index},model:{value:(_vm.transaction.budget_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"budget_id\", $$v)},expression:\"transaction.budget_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionCategory',_vm._g({attrs:{\"errors\":_vm.transaction.errors.category,\"index\":_vm.index},model:{value:(_vm.transaction.category),callback:function ($$v) {_vm.$set(_vm.transaction, \"category\", $$v)},expression:\"transaction.category\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[(!('Transfer' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionBill',_vm._g({attrs:{\"errors\":_vm.transaction.errors.bill,\"index\":_vm.index},model:{value:(_vm.transaction.bill_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"bill_id\", $$v)},expression:\"transaction.bill_id\"}},_vm.$listeners)):_vm._e(),_vm._v(\" \"),_c('TransactionTags',_vm._g({attrs:{\"errors\":_vm.transaction.errors.tags,\"index\":_vm.index},model:{value:(_vm.transaction.tags),callback:function ($$v) {_vm.$set(_vm.transaction, \"tags\", $$v)},expression:\"transaction.tags\"}},_vm.$listeners)),_vm._v(\" \"),(!('Withdrawal' === _vm.transactionType || 'Deposit' === _vm.transactionType))?_c('TransactionPiggyBank',_vm._g({attrs:{\"errors\":_vm.transaction.errors.piggy_bank,\"index\":_vm.index},model:{value:(_vm.transaction.piggy_bank_id),callback:function ($$v) {_vm.$set(_vm.transaction, \"piggy_bank_id\", $$v)},expression:\"transaction.piggy_bank_id\"}},_vm.$listeners)):_vm._e()],1)])])])])]),_vm._v(\" \"),(_vm.hasMetaFields)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('div',{staticClass:\"card\"},[_c('div',{staticClass:\"card-header\"},[_c('h3',{staticClass:\"card-title\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.transaction_journal_extra'))+\"\\n \"),(_vm.count > 1)?_c('span',[_vm._v(\"(\"+_vm._s(_vm.index + 1)+\" / \"+_vm._s(_vm.count)+\") \")]):_vm._e()])]),_vm._v(\" \"),_c('div',{staticClass:\"card-body\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionInternalReference',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.internal_reference,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.internal_reference),callback:function ($$v) {_vm.$set(_vm.transaction, \"internal_reference\", $$v)},expression:\"transaction.internal_reference\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionExternalUrl',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.external_url,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.external_url),callback:function ($$v) {_vm.$set(_vm.transaction, \"external_url\", $$v)},expression:\"transaction.external_url\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionNotes',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.notes,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.notes),callback:function ($$v) {_vm.$set(_vm.transaction, \"notes\", $$v)},expression:\"transaction.notes\"}},_vm.$listeners))],1),_vm._v(\" \"),_c('div',{staticClass:\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\"},[_c('TransactionAttachments',_vm._g({ref:\"attachments\",attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index,\"submitted_transaction\":_vm.submittedTransaction,\"transaction_journal_id\":_vm.transaction.transaction_journal_id},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.attachments),callback:function ($$v) {_vm.$set(_vm.transaction, \"attachments\", $$v)},expression:\"transaction.attachments\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLocation',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"errors\":_vm.transaction.errors.location,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.location),callback:function ($$v) {_vm.$set(_vm.transaction, \"location\", $$v)},expression:\"transaction.location\"}},_vm.$listeners)),_vm._v(\" \"),_c('TransactionLinks',_vm._g({attrs:{\"custom-fields\":_vm.customFields,\"index\":_vm.index},on:{\"update:customFields\":function($event){_vm.customFields=$event},\"update:custom-fields\":function($event){_vm.customFields=$event}},model:{value:(_vm.transaction.links),callback:function ($$v) {_vm.$set(_vm.transaction, \"links\", $$v)},expression:\"transaction.links\"}},_vm.$listeners))],1)])])])])]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDescription.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <vue-typeahead-bootstrap\n v-model=\"description\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.description')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n autofocus\n inputName=\"description[]\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['index', 'value', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionDescription\",\n data() {\n return {\n descriptions: [],\n initialSet: [],\n description: this.value,\n }\n },\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearDescription: function () {\n this.description = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.description = value;\n },\n description: function (value) {\n this.$emit('set-field', {field: 'description', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDescription.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDescription.vue?vue&type=template&id=05752163&\"\nimport script from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDescription.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.description'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"autofocus\":\"\",\"inputName\":\"description[]\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.description),callback:function ($$v) {_vm.description=$$v},expression:\"description\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionDate.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.date_and_time') }}\n </div>\n <div class=\"input-group\">\n <input\n ref=\"date\"\n v-model=\"dateStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"dateStr\"\n :title=\"$t('firefly.date')\"\n autocomplete=\"off\"\n name=\"date[]\"\n type=\"date\"\n >\n <input\n ref=\"time\"\n v-model=\"timeStr\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :disabled=\"index > 0\"\n :placeholder=\"timeStr\"\n :title=\"$t('firefly.time')\"\n autocomplete=\"off\"\n name=\"time[]\"\n type=\"time\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n <span class=\"text-muted small\" v-if=\"'' !== timeZone\">{{ timeZone }}</span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'errors', 'date', 'time'],\n name: \"TransactionDate\",\n created() {\n this.timeZone = Intl.DateTimeFormat().resolvedOptions().timeZone;\n },\n data() {\n return {\n localDate: this.date,\n localTime: this.time,\n timeZone: '',\n timeString: '',\n }\n },\n methods: {},\n computed: {\n dateStr: {\n get() {\n if (this.localDate instanceof Date && !isNaN(this.localDate)) {\n return this.localDate.toISOString().split('T')[0];\n }\n return '';\n },\n set(value) {\n // bit of a hack but meh.\n if ('' === value) {\n // reset to today\n this.localDate = new Date();\n this.$emit('set-date', {date: this.localDate});\n return;\n }\n this.localDate = new Date(value);\n this.$emit('set-date', {date: this.localDate});\n }\n },\n timeStr: {\n get() {\n // console.log('getTimeStr: ' + this.localTime);\n if (this.localTime instanceof Date && !isNaN(this.localTime)) {\n let localStr = ('0' + this.localTime.getHours()).slice(-2) + ':' + ('0' + this.localTime.getMinutes()).slice(-2) + ':' + ('0' + this.localTime.getSeconds()).slice(-2);\n // console.log('Time is: ' + localStr);\n return localStr;\n }\n // console.log('Return empty string!');\n return '';\n },\n set(value) {\n // console.log('Set: ' + value);\n if ('' === value) {\n // console.log('Value is empty, set 00:00:00');\n this.localTime.setHours(0);\n this.localTime.setMinutes(0);\n this.localTime.setSeconds(0);\n this.$emit('set-time', {time: this.localTime});\n return;\n }\n // bit of a hack but meh.\n let current = new Date(this.localTime.getTime());\n let parts = value.split(':');\n // console.log('Parts are:');\n // console.log(parts);\n\n let hrs = parts[0] ?? '0';\n let min = parts[1] ?? '0';\n let sec = parts[2] ?? '0';\n hrs = 3 === hrs.length ? hrs.substr(1, 2) : hrs;\n min = 3 === min.length ? min.substr(1, 2) : min;\n sec = 3 === sec.length ? sec.substr(1, 2) : sec;\n // console.log('Hrs: ' + hrs);\n // console.log('Min: ' + min);\n // console.log('Sec: ' + sec);\n\n current.setHours(parseInt(hrs));\n current.setMinutes(parseInt(min));\n current.setSeconds(parseInt(sec));\n this.localTime = current;\n this.$emit('set-time', {time: this.localTime});\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionDate.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionDate.vue?vue&type=template&id=7d040c44&\"\nimport script from \"./TransactionDate.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionDate.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.date_and_time'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.dateStr),expression:\"dateStr\"}],ref:\"date\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.dateStr,\"title\":_vm.$t('firefly.date'),\"autocomplete\":\"off\",\"name\":\"date[]\",\"type\":\"date\"},domProps:{\"value\":(_vm.dateStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.dateStr=$event.target.value}}}),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.timeStr),expression:\"timeStr\"}],ref:\"time\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"disabled\":_vm.index > 0,\"placeholder\":_vm.timeStr,\"title\":_vm.$t('firefly.time'),\"autocomplete\":\"off\",\"name\":\"time[]\",\"type\":\"time\"},domProps:{\"value\":(_vm.timeStr)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.timeStr=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e(),_vm._v(\" \"),('' !== _vm.timeZone)?_c('span',{staticClass:\"text-muted small\"},[_vm._v(_vm._s(_vm.timeZone))]):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBudget.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.budget') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"budget\"\n v-model=\"budget\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.budget')\"\n autocomplete=\"off\"\n name=\"budget_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"budget in this.budgetList\" :label=\"budget.name\" :value=\"budget.id\">{{ budget.name }}</option>\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionBudget\",\n data() {\n return {\n budgetList: [],\n budget: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.budgetList.push(\n {\n id: 0,\n name: this.$t('firefly.no_budget'),\n }\n );\n this.getBudgets();\n },\n getBudgets() {\n axios.get('./api/v1/budgets')\n .then(response => {\n this.parseBudgets(response.data);\n }\n );\n },\n parseBudgets(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n if(!current.attributes.active) {\n continue;\n }\n this.budgetList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.budget = value;\n },\n budget: function (value) {\n this.$emit('set-field', {field: 'budget_id', index: this.index, value: value});\n }\n },\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBudget.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBudget.vue?vue&type=template&id=478aaf7f&\"\nimport script from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBudget.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.budget'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.budget),expression:\"budget\"}],ref:\"budget\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.budget'),\"autocomplete\":\"off\",\"name\":\"budget_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.budget=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.budgetList),function(budget){return _c('option',{attrs:{\"label\":budget.name},domProps:{\"value\":budget.id}},[_vm._v(_vm._s(budget.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div v-if=\"visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"0 === this.index\">{{ $t('firefly.' + this.direction + '_account') }}</span>\n <span v-if=\"this.index > 0\" class=\"text-warning\">{{ $t('firefly.first_split_overrules_' + this.direction) }}</span>\n </div>\n <div v-if=\"!visible\" class=\"text-xs d-none d-lg-block d-xl-block\">\n &nbsp;\n </div>\n <vue-typeahead-bootstrap\n v-if=\"visible\"\n v-model=\"accountName\"\n :data=\"accounts\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :inputName=\"direction + '[]'\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.' + direction + '_account')\"\n :serializer=\"item => item.name_with_balance\"\n :showOnFocus=true\n @hit=\"selectedAccount = $event\"\n @input=\"lookupAccount\"\n >\n\n <template slot=\"suggestion\" slot-scope=\"{ data, htmlText }\">\n <div :title=\"data.type\" class=\"d-flex\">\n <span v-html=\"htmlText\"></span><br>\n </div>\n </template>\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearAccount\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <div v-if=\"!visible\" class=\"form-control-static\">\n <span class=\"small text-muted\"><em>{{ $t('firefly.first_split_decides') }}</em></span>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from 'lodash';\n\nexport default {\n name: \"TransactionAccount\",\n components: {VueTypeaheadBootstrap},\n props: {\n index: {\n type: Number,\n },\n direction: {\n type: String,\n },\n value: {\n type: Object,\n default: () => ({})\n },\n errors: {\n type: Array,\n default: () => ([])\n },\n sourceAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n destinationAllowedTypes: {\n type: Array,\n default: () => ([])\n },\n allowedOpposingTypes: {\n type: Object,\n default: () => ({})\n },\n transactionType: {\n type: String,\n default: 'any'\n },\n },\n data() {\n return {\n query: '',\n accounts: [],\n accountTypes: [],\n initialSet: [],\n selectedAccount: {},\n account: this.value,\n accountName: '',\n selectedAccountTrigger: false,\n }\n },\n created() {\n this.selectedAccountTrigger = true;\n this.accountName = this.account.name ?? '';\n this.createInitialSet();\n },\n methods: {\n getACURL: function (types, query) {\n return './api/v1/autocomplete/accounts?types=' + types.join(',') + '&query=' + query;\n },\n clearAccount: function () {\n this.accounts = this.initialSet;\n this.account = {name: '', type: 'no_type', id: null, currency_id: null, currency_code: null, currency_symbol: null};\n this.accountName = '';\n },\n lookupAccount: debounce(function () {\n //console.log('In lookupAccount()');\n if (0 === this.accountTypes.length) {\n // set the types from the default types for this direction:\n this.accountTypes = 'source' === this.direction ? this.sourceAllowedTypes : this.destinationAllowedTypes;\n }\n // console.log(this.direction + ': Will search for types:');\n // console.log(this.accountTypes);\n\n // update autocomplete URL:\n axios.get(this.getACURL(this.accountTypes, this.accountName))\n .then(response => {\n //console.log('Got a response!');\n this.accounts = response.data;\n //console.log(response.data);\n })\n }, 300),\n\n createInitialSet: function () {\n let types = this.sourceAllowedTypes;\n if ('destination' === this.direction) {\n types = this.destinationAllowedTypes;\n }\n // console.log(this.direction + ' initial set searches for');\n // console.log(types);\n\n axios.get(this.getACURL(types, ''))\n .then(response => {\n this.accounts = response.data;\n this.initialSet = response.data;\n });\n }\n },\n watch: {\n // allowedOpposingTypes: function () {\n // console.log(this.direction + ' account noticed change in allowedOpposingTypes');\n // },\n sourceAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in sourceAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n destinationAllowedTypes: function (value) {\n // console.log(this.direction + ' account noticed change in destinationAllowedTypes');\n // console.log(value);\n this.createInitialSet();\n },\n selectedAccount: function (value) {\n this.selectedAccountTrigger = true;\n this.account = value;\n\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: value.id,\n type: value.type,\n name: value.name,\n currency_id: value.currency_id,\n currency_code: value.currency_code,\n currency_symbol: value.currency_symbol,\n }\n );\n this.accountName = this.account.name_with_balance;\n },\n accountName: function (value) {\n if (false === this.selectedAccountTrigger) {\n // console.log('Save to change name!');\n this.$emit('set-account',\n {\n index: this.index,\n direction: this.direction,\n id: null,\n type: null,\n name: value,\n currency_id: null,\n currency_code: null,\n currency_symbol: null,\n }\n );\n this.accountTrigger = false;\n this.account = {name: value, type: null, id: null, currency_id: null, currency_code: null, currency_symbol: null};\n }\n this.selectedAccountTrigger = false;\n },\n account: function (value) {\n let opposingAccounts = [];\n let type = value.type ? value.type : 'no_type';\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction]) {\n if ('undefined' !== typeof this.allowedOpposingTypes[this.direction][type]) {\n opposingAccounts = this.allowedOpposingTypes[this.direction][type];\n }\n }\n\n if ('source' === this.direction) {\n this.$emit('set-dest-types', opposingAccounts);\n }\n if ('destination' === this.direction) {\n this.$emit('set-src-types', opposingAccounts);\n }\n },\n value: function (value) {\n // console.log('Index ' + this.index + ' nwAct: ', value);\n // console.log(this.direction + ' account overruled by external forces.');\n // console.log(value);\n this.account = value;\n this.selectedAccountTrigger = true;\n this.accountName = value.name ?? '';\n }\n },\n computed: {\n accountKey: {\n get() {\n return 'source' === this.direction ? 'source_account' : 'destination_account';\n }\n },\n visible: {\n get() {\n // index 0 is always visible:\n if (0 === this.index) {\n return true;\n }\n // console.log('Direction of account ' + this.index + ' is ' + this.direction + '(' + this.transactionType + ')');\n // console.log(this.transactionType);\n if ('source' === this.direction) {\n return 'any' === this.transactionType || 'Deposit' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n if ('destination' === this.direction) {\n return 'any' === this.transactionType || 'Withdrawal' === this.transactionType || typeof this.transactionType === 'undefined';\n }\n return false;\n }\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAccount.vue?vue&type=template&id=44e9f764&\"\nimport script from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[(_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[(0 === this.index)?_c('span',[_vm._v(_vm._s(_vm.$t('firefly.' + this.direction + '_account')))]):_vm._e(),_vm._v(\" \"),(this.index > 0)?_c('span',{staticClass:\"text-warning\"},[_vm._v(_vm._s(_vm.$t('firefly.first_split_overrules_' + this.direction)))]):_vm._e()]):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n  \\n \")]):_vm._e(),_vm._v(\" \"),(_vm.visible)?_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.accounts,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"inputName\":_vm.direction + '[]',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.' + _vm.direction + '_account'),\"serializer\":function (item) { return item.name_with_balance; },\"showOnFocus\":true},on:{\"hit\":function($event){_vm.selectedAccount = $event},\"input\":_vm.lookupAccount},scopedSlots:_vm._u([{key:\"suggestion\",fn:function(ref){\nvar data = ref.data;\nvar htmlText = ref.htmlText;\nreturn [_c('div',{staticClass:\"d-flex\",attrs:{\"title\":data.type}},[_c('span',{domProps:{\"innerHTML\":_vm._s(htmlText)}}),_c('br')])]}}],null,false,1423807661),model:{value:(_vm.accountName),callback:function ($$v) {_vm.accountName=$$v},expression:\"accountName\"}},[_vm._v(\" \"),_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearAccount}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2):_vm._e(),_vm._v(\" \"),(!_vm.visible)?_c('div',{staticClass:\"form-control-static\"},[_c('span',{staticClass:\"small text-muted\"},[_c('em',[_vm._v(_vm._s(_vm.$t('firefly.first_split_decides')))])])]):_vm._e(),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - SwitchAccount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n <span v-if=\"'any' !== this.transactionType\" class=\"text-muted\">\n {{ $t('firefly.' + this.transactionType) }}\n </span>\n <span v-if=\"'any' === this.transactionType\" class=\"text-muted\">&nbsp;</span>\n </div>\n <div class=\"btn-group d-flex\">\n <button class=\"btn btn-light\" @click=\"switchAccounts\">&harr;</button>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SwitchAccount\",\n props: ['index', 'transactionType'],\n methods: {\n switchAccounts() {\n this.$emit('switch-accounts', this.index);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SwitchAccount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SwitchAccount.vue?vue&type=template&id=376bca8c&scoped=true&\"\nimport script from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\nexport * from \"./SwitchAccount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"376bca8c\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[('any' !== this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.' + this.transactionType))+\"\\n \")]):_vm._e(),_vm._v(\" \"),('any' === this.transactionType)?_c('span',{staticClass:\"text-muted\"},[_vm._v(\" \")]):_vm._e()]),_vm._v(\" \"),_c('div',{staticClass:\"btn-group d-flex\"},[_c('button',{staticClass:\"btn btn-light\",on:{\"click\":_vm.switchAccounts}},[_vm._v(\"↔\")])])])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs\">{{ $t('firefly.amount') }}</div>\n <div class=\"input-group\">\n <div v-if=\"currencySymbol\" class=\"input-group-prepend\">\n <div class=\"input-group-text\">{{ currencySymbol }}</div>\n </div>\n <input\n v-model=\"transactionAmount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.amount')\"\n :title=\"$t('firefly.amount')\"\n autocomplete=\"off\"\n name=\"amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n name: \"TransactionAmount\",\n props: {\n index: {\n type: Number,\n default: 0,\n required: true\n },\n errors: {},\n amount: {},\n transactionType: {},\n sourceCurrencySymbol: {},\n destinationCurrencySymbol: {},\n fractionDigits: {\n default: 2,\n required: false\n },\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.transactionAmount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n data() {\n return {\n transactionAmount: this.amount,\n currencySymbol: null,\n srcCurrencySymbol: this.sourceCurrencySymbol,\n dstCurrencySymbol: this.destinationCurrencySymbol,\n emitEvent: true\n }\n },\n watch: {\n transactionAmount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n amount: function (value) {\n this.transactionAmount = value;\n },\n sourceCurrencySymbol: function (value) {\n this.srcCurrencySymbol = value;\n },\n destinationCurrencySymbol: function (value) {\n this.dstCurrencySymbol = value;\n },\n transactionType: function (value) {\n switch (value) {\n case 'Transfer':\n case 'Withdrawal':\n this.currencySymbol = this.srcCurrencySymbol;\n break;\n case 'Deposit':\n this.currencySymbol = this.dstCurrencySymbol;\n }\n },\n },\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionAmount.vue?vue&type=template&id=fadf3e90&scoped=true&\"\nimport script from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"fadf3e90\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('firefly.amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[(_vm.currencySymbol)?_c('div',{staticClass:\"input-group-prepend\"},[_c('div',{staticClass:\"input-group-text\"},[_vm._v(_vm._s(_vm.currencySymbol))])]):_vm._e(),_vm._v(\" \"),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.transactionAmount),expression:\"transactionAmount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.amount'),\"title\":_vm.$t('firefly.amount'),\"autocomplete\":\"off\",\"name\":\"amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.transactionAmount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.transactionAmount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignAmount.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN AMOUNT -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">{{ $t('form.foreign_amount') }}</div>\n <div class=\"input-group\">\n <input\n v-model=\"amount\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('form.foreign_amount')\"\n :title=\"$t('form.foreign_amount')\"\n autocomplete=\"off\"\n name=\"foreign_amount[]\"\n type=\"number\"\n >\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionForeignAmount\",\n props: {\n index: {},\n errors: {},\n value: {},\n transactionType: {},\n sourceCurrencyId: {},\n destinationCurrencyId: {},\n fractionDigits: {\n type: Number,\n default: 2\n }\n },\n data() {\n return {\n amount: this.value,\n emitEvent: true\n }\n },\n created() {\n if ('' !== this.amount) {\n this.emitEvent = false;\n this.amount = this.formatNumber(this.amount);\n }\n },\n methods: {\n formatNumber(str) {\n return parseFloat(str).toFixed(this.fractionDigits);\n }\n },\n watch: {\n amount: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'foreign_amount', index: this.index, value: value});\n }\n this.emitEvent = true;\n },\n value: function (value) {\n this.amount = value;\n\n\n }\n },\n computed: {\n isVisible: {\n get() {\n return !('Transfer' === this.transactionType && this.sourceCurrencyId === this.destinationCurrencyId);\n }\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignAmount.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignAmount.vue?vue&type=template&id=d13f8bea&scoped=true&\"\nimport script from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignAmount.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"d13f8bea\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(_vm._s(_vm.$t('form.foreign_amount')))]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.amount),expression:\"amount\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('form.foreign_amount'),\"title\":_vm.$t('form.foreign_amount'),\"autocomplete\":\"off\",\"name\":\"foreign_amount[]\",\"type\":\"number\"},domProps:{\"value\":(_vm.amount)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.amount=$event.target.value}}})]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionForeignCurrency.vue\n - Copyright (c) 2020 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <!-- FOREIGN Currency -->\n <div v-if=\"isVisible\" class=\"form-group\">\n <div class=\"text-xs\">&nbsp;</div>\n <div class=\"input-group\">\n <select v-model=\"selectedCurrency\" class=\"form-control\" name=\"foreign_currency_id[]\">\n <option v-for=\"currency in selectableCurrencies\" :label=\"currency.name\" :value=\"currency.id\">{{ currency.name }}</option>\n </select>\n </div>\n </div>\n</template>\n<script>\n\nexport default {\n name: \"TransactionForeignCurrency\",\n props: [\n 'index',\n 'transactionType',\n 'sourceCurrencyId',\n 'destinationCurrencyId',\n 'selectedCurrencyId',\n 'value'\n ],\n data() {\n return {\n selectedCurrency: this.value,\n allCurrencies: [],\n selectableCurrencies: [],\n dstCurrencyId: this.destinationCurrencyId,\n srcCurrencyId: this.sourceCurrencyId,\n lockedCurrency: 0,\n emitEvent: true\n }\n },\n watch: {\n value: function (value) {\n this.selectedCurrency = value;\n },\n sourceCurrencyId: function (value) {\n this.srcCurrencyId = value;\n },\n destinationCurrencyId: function (value) {\n this.dstCurrencyId = value;\n },\n selectedCurrency: function (value) {\n this.$emit('set-field', {field: 'foreign_currency_id', index: this.index, value: value});\n },\n transactionType: function (value) {\n this.lockedCurrency = 0;\n if ('Transfer' === value) {\n this.lockedCurrency = this.dstCurrencyId;\n this.selectedCurrency = this.dstCurrencyId;\n }\n this.filterCurrencies();\n },\n },\n created: function () {\n this.getAllCurrencies();\n },\n methods: {\n getAllCurrencies: function () {\n axios.get('./api/v1/autocomplete/currencies')\n .then(response => {\n this.allCurrencies = response.data;\n this.filterCurrencies();\n }\n );\n\n },\n filterCurrencies() {\n // if a currency is locked only that currency can (and must) be selected:\n if (0 !== this.lockedCurrency) {\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n if (current.id === this.lockedCurrency) {\n this.selectableCurrencies = [current];\n this.selectedCurrency = current.id;\n }\n }\n }\n return;\n }\n\n this.selectableCurrencies = [\n {\n \"id\": 0,\n \"name\": this.$t('firefly.no_currency')\n }\n ];\n for (let key in this.allCurrencies) {\n if (this.allCurrencies.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = this.allCurrencies[key];\n this.selectableCurrencies.push(current);\n }\n }\n }\n },\n computed: {\n isVisible: function () {\n return !('Transfer' === this.transactionType && this.srcCurrencyId === this.dstCurrencyId);\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionForeignCurrency.vue?vue&type=template&id=3ee4efa5&scoped=true&\"\nimport script from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionForeignCurrency.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3ee4efa5\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.isVisible)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs\"},[_vm._v(\" \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.selectedCurrency),expression:\"selectedCurrency\"}],staticClass:\"form-control\",attrs:{\"name\":\"foreign_currency_id[]\"},on:{\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.selectedCurrency=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((_vm.selectableCurrencies),function(currency){return _c('option',{attrs:{\"label\":currency.name},domProps:{\"value\":currency.id}},[_vm._v(_vm._s(currency.name))])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCustomDates.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div>\n <div v-for=\"(enabled, name) in availableFields\" class=\"form-group\">\n <div v-if=\"enabled && isDateField(name)\" class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('form.' + name) }}\n </div>\n <div v-if=\"enabled && isDateField(name)\" class=\"input-group\">\n <input\n :ref=\"name\"\n :name=\"name + '[]'\"\n :placeholder=\"$t('form.' + name)\"\n :title=\"$t('form.' + name)\"\n :value=\"getFieldValue(name)\"\n autocomplete=\"off\"\n class=\"form-control\"\n type=\"date\"\n @change=\"setFieldValue($event, name)\"\n v-on:submit.prevent\n >\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"TransactionCustomDates\",\n props: [\n 'index',\n 'errors',\n 'customFields',\n 'interestDate',\n 'bookDate',\n 'processDate',\n 'dueDate',\n 'paymentDate',\n 'invoiceDate'\n ],\n data() {\n return {\n dateFields: ['interest_date', 'book_date', 'process_date', 'due_date', 'payment_date', 'invoice_date'],\n availableFields: this.customFields,\n dates: {\n interest_date: this.interestDate,\n book_date: this.bookDate,\n process_date: this.processDate,\n due_date: this.dueDate,\n payment_date: this.paymentDate,\n invoice_date: this.invoiceDate,\n }\n ,\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n interestDate: function (value) {\n this.dates.interest_date = value;\n },\n bookDate: function (value) {\n this.dates.book_date = value;\n },\n processDate: function (value) {\n this.dates.process_date = value;\n },\n dueDate: function (value) {\n this.dates.due_date = value;\n },\n paymentDate: function (value) {\n this.dates.payment_date = value;\n },\n invoiceDate: function (value) {\n this.dates.invoice_date = value;\n },\n },\n methods: {\n isDateField: function (name) {\n return this.dateFields.includes(name)\n },\n getFieldValue(field) {\n return this.dates[field] ?? '';\n },\n setFieldValue(event, field) {\n this.$emit('set-field', {field: field, index: this.index, value: event.target.value});\n },\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCustomDates.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCustomDates.vue?vue&type=template&id=7c0f4f0c&\"\nimport script from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCustomDates.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',_vm._l((_vm.availableFields),function(enabled,name){return _c('div',{staticClass:\"form-group\"},[(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('form.' + name))+\"\\n \")]):_vm._e(),_vm._v(\" \"),(enabled && _vm.isDateField(name))?_c('div',{staticClass:\"input-group\"},[_c('input',{ref:name,refInFor:true,staticClass:\"form-control\",attrs:{\"name\":name + '[]',\"placeholder\":_vm.$t('form.' + name),\"title\":_vm.$t('form.' + name),\"autocomplete\":\"off\",\"type\":\"date\"},domProps:{\"value\":_vm.getFieldValue(name)},on:{\"change\":function($event){return _vm.setFieldValue($event, name)},\"submit\":function($event){$event.preventDefault();}}})]):_vm._e()])}),0)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionCategory.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.category') }}\n </div>\n\n <vue-typeahead-bootstrap\n v-model=\"category\"\n :data=\"categories\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.category')\"\n :serializer=\"item => item.name\"\n :showOnFocus=true\n inputName=\"category[]\"\n @hit=\"selectedCategory = $event\"\n @input=\"lookupCategory\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearCategory\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'index', 'errors'],\n components: {VueTypeaheadBootstrap},\n name: \"TransactionCategory\",\n data() {\n return {\n categories: [],\n initialSet: [],\n category: this.value,\n emitEvent: true\n }\n },\n\n created() {\n\n // initial list of accounts:\n axios.get(this.getACURL(''))\n .then(response => {\n this.categories = response.data;\n this.initialSet = response.data;\n });\n },\n\n methods: {\n clearCategory: function () {\n this.category = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;\n },\n lookupCategory: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.value))\n .then(response => {\n this.categories = response.data;\n })\n }, 300)\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.category = value ?? '';\n },\n category: function (value) {\n this.$emit('set-field', {field: 'category', index: this.index, value: value});\n }\n },\n computed: {\n selectedCategory: {\n get() {\n return this.categories[this.index].name;\n },\n set(value) {\n this.category = value.name;\n }\n }\n }\n}\n</script>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionCategory.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionCategory.vue?vue&type=template&id=332d1095&\"\nimport script from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionCategory.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.category'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.categories,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.category'),\"serializer\":function (item) { return item.name; },\"showOnFocus\":true,\"inputName\":\"category[]\"},on:{\"hit\":function($event){_vm.selectedCategory = $event},\"input\":_vm.lookupCategory},model:{value:(_vm.category),callback:function ($$v) {_vm.category=$$v},expression:\"category\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearCategory}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionBill.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.bill') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"bill\"\n v-model=\"bill\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.bill')\"\n autocomplete=\"off\"\n name=\"bill_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"bill in this.billList\" :label=\"bill.name\" :value=\"bill.id\">{{ bill.name }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['value', 'index', 'errors'],\n name: \"TransactionBill\",\n data() {\n return {\n billList: [],\n bill: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.billList.push(\n {\n id: 0,\n name: this.$t('firefly.no_bill'),\n }\n );\n this.getBills();\n },\n getBills() {\n axios.get('./api/v1/bills')\n .then(response => {\n this.parseBills(response.data);\n }\n );\n },\n parseBills(data) {\n for (let key in data.data) {\n if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data.data[key];\n this.billList.push(\n {\n id: parseInt(current.id),\n name: current.attributes.name\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.bill = value;\n },\n bill: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'bill_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n },\n}\n</script>\n\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionBill.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionBill.vue?vue&type=template&id=7c81d840&\"\nimport script from \"./TransactionBill.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionBill.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.bill'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.bill),expression:\"bill\"}],ref:\"bill\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.bill'),\"autocomplete\":\"off\",\"name\":\"bill_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.bill=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.billList),function(bill){return _c('option',{attrs:{\"label\":bill.name},domProps:{\"value\":bill.id}},[_vm._v(_vm._s(bill.name))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {\nvar this$1 = this;\nvar _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.tags'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('vue-tags-input',{attrs:{\"add-only-from-autocomplete\":false,\"autocomplete-items\":_vm.autocompleteItems,\"tags\":_vm.tags,\"title\":_vm.$t('firefly.tags'),\"placeholder\":_vm.$t('firefly.tags')},on:{\"tags-changed\":function (newTags) { return this$1.tags = newTags; }},model:{value:(_vm.currentTag),callback:function ($$v) {_vm.currentTag=$$v},expression:\"currentTag\"}})],1),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionTags.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.tags') }}\n </div>\n <div class=\"input-group\">\n <vue-tags-input\n v-model=\"currentTag\"\n :add-only-from-autocomplete=\"false\"\n :autocomplete-items=\"autocompleteItems\"\n :tags=\"tags\"\n :title=\"$t('firefly.tags')\"\n v-bind:placeholder=\"$t('firefly.tags')\"\n @tags-changed=\"newTags => this.tags = newTags\"\n />\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\nimport VueTagsInput from \"@johmun/vue-tags-input\";\nimport axios from \"axios\";\n\nexport default {\n name: \"TransactionTags\",\n components: {\n VueTagsInput\n },\n props: ['value', 'index', 'errors'],\n data() {\n return {\n autocompleteItems: [],\n debounce: null,\n tags: [],\n currentTag: '',\n updateTags: true, // the idea is that this is always true, except when the tags-function sets the value.\n tagList: this.value,\n emitEvent: true\n };\n },\n created() {\n let tags = [];\n for (let i in this.value) {\n if (this.value.hasOwnProperty(i) && /^0$|^[1-9]\\d*$/.test(i) && i <= 4294967294) {\n tags.push({text: this.value[i]});\n }\n }\n this.updateTags = false;\n this.tags = tags;\n },\n watch: {\n 'currentTag': 'initItems',\n value: function (value) {\n this.emitEvent = false;\n this.tagList = value;\n },\n tagList: function (value) {\n console.log('watch tagList');\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'tags', index: this.index, value: value});\n }\n this.emitEvent = true;\n this.updateTags = false;\n this.tags = value;\n },\n tags: function (value) {\n if (this.updateTags) {\n let shortList = [];\n for (let key in value) {\n if (value.hasOwnProperty(key)) {\n shortList.push({text: value[key].text});\n }\n }\n this.tagList = shortList;\n }\n this.updateTags = true;\n }\n },\n methods: {\n initItems() {\n if (this.currentTag.length < 2) {\n return;\n }\n const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.currentTag}`;\n\n clearTimeout(this.debounce);\n this.debounce = setTimeout(() => {\n axios.get(url).then(response => {\n this.autocompleteItems = response.data.map(item => {\n return {text: item.tag};\n });\n }).catch(() => console.warn('Oh. Something went wrong loading tags.'));\n }, 300);\n },\n },\n\n\n}\n</script>\n<style>\n.vue-tags-input {\n width: 100%;\n max-width: 100% !important;\n display: block;\n border-radius: 0.25rem;\n}\n\n.ti-input {\n border-radius: 0.25rem;\n max-width: 100%;\n width: 100%;\n}\n\n.ti-new-tag-input {\n font-size: 1rem;\n}\n</style>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionTags.vue?vue&type=template&id=834226ea&\"\nimport script from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionTags.vue?vue&type=script&lang=js&\"\nimport style0 from \"./TransactionTags.vue?vue&type=style&index=0&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - TransactionPiggyBank.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.piggy_bank') }}\n </div>\n <div class=\"input-group\">\n <select\n ref=\"piggy_bank_id\"\n v-model=\"piggy_bank_id\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :title=\"$t('firefly.piggy_bank')\"\n autocomplete=\"off\"\n name=\"piggy_bank_id[]\"\n v-on:submit.prevent\n >\n <option v-for=\"piggy in this.piggyList\" :label=\"piggy.name_with_balance\" :value=\"piggy.id\">{{ piggy.name_with_balance }}</option>\n\n </select>\n </div>\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n </div>\n</template>\n\n<script>\n\nexport default {\n props: ['index', 'value', 'errors'],\n name: \"TransactionPiggyBank\",\n data() {\n return {\n piggyList: [],\n piggy_bank_id: this.value,\n emitEvent: true\n }\n },\n created() {\n this.collectData();\n },\n methods: {\n collectData() {\n this.piggyList.push(\n {\n id: 0,\n name_with_balance: this.$t('firefly.no_piggy_bank'),\n }\n );\n this.getPiggies();\n },\n getPiggies() {\n axios.get('./api/v1/autocomplete/piggy-banks-with-balance')\n .then(response => {\n this.parsePiggies(response.data);\n }\n );\n },\n parsePiggies(data) {\n for (let key in data) {\n if (data.hasOwnProperty(key) && /^0$|^[1-9]\\d*$/.test(key) && key <= 4294967294) {\n let current = data[key];\n this.piggyList.push(\n {\n id: parseInt(current.id),\n name_with_balance: current.name_with_balance\n }\n );\n }\n }\n },\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.piggy_bank_id = value;\n },\n piggy_bank_id: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'piggy_bank_id', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionPiggyBank.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionPiggyBank.vue?vue&type=template&id=f88cfd4e&\"\nimport script from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionPiggyBank.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.piggy_bank'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.piggy_bank_id),expression:\"piggy_bank_id\"}],ref:\"piggy_bank_id\",class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"title\":_vm.$t('firefly.piggy_bank'),\"autocomplete\":\"off\",\"name\":\"piggy_bank_id[]\"},on:{\"submit\":function($event){$event.preventDefault();},\"change\":function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.piggy_bank_id=$event.target.multiple ? $$selectedVal : $$selectedVal[0]}}},_vm._l((this.piggyList),function(piggy){return _c('option',{attrs:{\"label\":piggy.name_with_balance},domProps:{\"value\":piggy.id}},[_vm._v(_vm._s(piggy.name_with_balance))])}),0)]),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()])}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.internal_reference') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"reference\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.internal_reference')\"\n name=\"internal_reference[]\"\n type=\"text\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionInternalReference\",\n data() {\n return {\n reference: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('internal_reference' in this.availableFields) {\n return this.availableFields.internal_reference;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.emitEvent = false;\n this.reference = value;\n },\n reference: function (value) {\n this.$emit('set-field', {field: 'internal_reference', index: this.index, value: value});\n }\n }\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionInternalReference.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionInternalReference.vue?vue&type=template&id=7f1b8c1d&\"\nimport script from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionInternalReference.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.internal_reference'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.reference),expression:\"reference\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.internal_reference'),\"name\":\"internal_reference[]\",\"type\":\"text\"},domProps:{\"value\":(_vm.reference)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.reference=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionInternalReference.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.external_url') }}\n </div>\n <div class=\"input-group\">\n <input\n v-model=\"url\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.external_url')\"\n name=\"external_url[]\"\n type=\"url\"\n />\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionExternalUrl\",\n data() {\n return {\n url: this.value,\n availableFields: this.customFields,\n }\n },\n computed: {\n showField: function () {\n if ('external_uri' in this.availableFields) {\n return this.availableFields.external_uri;\n }\n return false;\n }\n },\n methods: {},\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n value: function (value) {\n this.url = value;\n },\n url: function (value) {\n this.$emit('set-field', {field: 'external_url', index: this.index, value: value});\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionExternalUrl.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionExternalUrl.vue?vue&type=template&id=7f6746e6&scoped=true&\"\nimport script from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionExternalUrl.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"7f6746e6\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.external_url'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.url),expression:\"url\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.external_url'),\"name\":\"external_url[]\",\"type\":\"url\"},domProps:{\"value\":(_vm.url)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.url=$event.target.value}}}),_vm._v(\" \"),_vm._m(0)])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionNotes.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n\n <div v-if=\"showField\" class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.notes') }}\n </div>\n <div class=\"input-group\">\n <textarea\n v-model=\"notes\"\n :class=\"errors.length > 0 ? 'form-control is-invalid' : 'form-control'\"\n :placeholder=\"$t('firefly.notes')\"\n ></textarea>\n </div>\n </div>\n\n</template>\n\n<script>\nexport default {\n props: ['index', 'value', 'errors', 'customFields'],\n name: \"TransactionNotes\",\n data() {\n return {\n notes: this.value,\n availableFields: this.customFields,\n emitEvent: true\n }\n },\n computed: {\n showField: function () {\n if ('notes' in this.availableFields) {\n return this.availableFields.notes;\n }\n return false;\n }\n },\n watch: {\n value: function (value) {\n this.emitEvent = false;\n this.notes = value;\n },\n customFields: function (value) {\n this.availableFields = value;\n },\n notes: function (value) {\n if (true === this.emitEvent) {\n this.$emit('set-field', {field: 'notes', index: this.index, value: value});\n }\n this.emitEvent = true;\n }\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionNotes.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionNotes.vue?vue&type=template&id=10b3ae7a&scoped=true&\"\nimport script from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionNotes.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"10b3ae7a\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.notes'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"input-group\"},[_c('textarea',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.notes),expression:\"notes\"}],class:_vm.errors.length > 0 ? 'form-control is-invalid' : 'form-control',attrs:{\"placeholder\":_vm.$t('firefly.notes')},domProps:{\"value\":(_vm.notes)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.notes=$event.target.value}}})])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',[_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.journal_links'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.links.length === 0)?_c('p',[_c('button',{staticClass:\"btn btn-default btn-xs\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"}),_vm._v(\" Add transaction link\")])]):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('ul',{staticClass:\"list-group\"},_vm._l((_vm.links),function(transaction,index){return _c('li',{key:index,staticClass:\"list-group-item\"},[_c('em',[_vm._v(_vm._s(_vm.getTextForLinkType(transaction.link_type_id)))]),_vm._v(\" \"),_c('a',{attrs:{\"href\":\"./transaction/show/\" + transaction.transaction_group_id}},[_vm._v(_vm._s(transaction.description))]),_vm._v(\" \"),(transaction.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(transaction.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"btn-group btn-group-xs float-right\"},[_c('button',{staticClass:\"btn btn-xs btn-danger\",attrs:{\"tabindex\":\"-1\"},on:{\"click\":function($event){return _vm.removeLink(index)}}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])}),0):_vm._e(),_vm._v(\" \"),(_vm.links.length > 0)?_c('div',{staticClass:\"form-text\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"data-target\":\"#linkModal\",\"data-toggle\":\"modal\"},on:{\"click\":_vm.resetModal}},[_c('i',{staticClass:\"fas fa-plus\"})])]):_vm._e()])])]),_vm._v(\" \"),_c('div',{ref:\"linkModal\",staticClass:\"modal\",attrs:{\"id\":\"linkModal\",\"tabindex\":\"-1\"}},[_c('div',{staticClass:\"modal-dialog modal-lg\"},[_c('div',{staticClass:\"modal-content\"},[_vm._m(0),_vm._v(\" \"),_c('div',{staticClass:\"modal-body\"},[_c('div',{staticClass:\"container-fluid\"},[_vm._m(1),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('form',{on:{\"submit\":function($event){$event.preventDefault();return _vm.search($event)}}},[_c('div',{staticClass:\"input-group\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.query),expression:\"query\"}],staticClass:\"form-control\",attrs:{\"id\":\"query\",\"autocomplete\":\"off\",\"maxlength\":\"255\",\"name\":\"search\",\"placeholder\":\"Search query\",\"type\":\"text\"},domProps:{\"value\":(_vm.query)},on:{\"input\":function($event){if($event.target.composing){ return; }_vm.query=$event.target.value}}}),_vm._v(\" \"),_vm._m(2)])])])]),_vm._v(\" \"),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[(_vm.searching)?_c('span',[_c('i',{staticClass:\"fas fa-spinner fa-spin\"})]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('h4',[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]):_vm._e(),_vm._v(\" \"),(_vm.searchResults.length > 0)?_c('table',{staticClass:\"table table-sm\"},[_c('caption',{staticStyle:{\"display\":\"none\"}},[_vm._v(_vm._s(_vm.$t('firefly.search_results')))]),_vm._v(\" \"),_c('thead',[_c('tr',[_c('th',{staticStyle:{\"width\":\"33%\"},attrs:{\"scope\":\"col\",\"colspan\":\"2\"}},[_vm._v(_vm._s(_vm.$t('firefly.include')))]),_vm._v(\" \"),_c('th',{attrs:{\"scope\":\"col\"}},[_vm._v(_vm._s(_vm.$t('firefly.transaction')))])])]),_vm._v(\" \"),_c('tbody',_vm._l((_vm.searchResults),function(result){return _c('tr',[_c('td',[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.selected),expression:\"result.selected\"}],staticClass:\"form-control\",attrs:{\"type\":\"checkbox\"},domProps:{\"checked\":Array.isArray(result.selected)?_vm._i(result.selected,null)>-1:(result.selected)},on:{\"change\":[function($event){var $$a=result.selected,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=null,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.$set(result, \"selected\", $$a.concat([$$v])))}else{$$i>-1&&(_vm.$set(result, \"selected\", $$a.slice(0,$$i).concat($$a.slice($$i+1))))}}else{_vm.$set(result, \"selected\", $$c)}},function($event){return _vm.selectTransaction($event)}]}})]),_vm._v(\" \"),_c('td',[_c('select',{directives:[{name:\"model\",rawName:\"v-model\",value:(result.link_type_id),expression:\"result.link_type_id\"}],staticClass:\"form-control\",on:{\"change\":[function($event){var $$selectedVal = Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = \"_value\" in o ? o._value : o.value;return val}); _vm.$set(result, \"link_type_id\", $event.target.multiple ? $$selectedVal : $$selectedVal[0])},function($event){return _vm.selectLinkType($event)}]}},_vm._l((_vm.linkTypes),function(linkType){return _c('option',{attrs:{\"label\":linkType.type},domProps:{\"value\":linkType.id + '-' + linkType.direction}},[_vm._v(_vm._s(linkType.type)+\"\\n \")])}),0)]),_vm._v(\" \"),_c('td',[_c('a',{attrs:{\"href\":'./transactions/show/' + result.transaction_group_id}},[_vm._v(_vm._s(result.description))]),_vm._v(\" \"),(result.type === 'withdrawal')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-danger\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount) * -1)))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'deposit')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-success\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),(result.type === 'transfer')?_c('span',[_vm._v(\"\\n (\"),_c('span',{staticClass:\"text-info\"},[_vm._v(_vm._s(Intl.NumberFormat(_vm.locale, {\n style: 'currency',\n currency: result.currency_code\n }).format(parseFloat(result.amount))))]),_vm._v(\")\\n \")]):_vm._e(),_vm._v(\" \"),_c('br'),_vm._v(\" \"),_c('em',[_c('a',{attrs:{\"href\":'./accounts/show/' + result.source_id}},[_vm._v(_vm._s(result.source_name))]),_vm._v(\"\\n →\\n \"),_c('a',{attrs:{\"href\":'./accounts/show/' + result.destination_id}},[_vm._v(_vm._s(result.destination_name))])])])])}),0)]):_vm._e()])])])]),_vm._v(\" \"),_vm._m(3)])])])]):_vm._e()}\nvar staticRenderFns = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-header\"},[_c('h5',{staticClass:\"modal-title\"},[_vm._v(\"Transaction thing dialog.\")]),_vm._v(\" \"),_c('button',{staticClass:\"close\",attrs:{\"aria-label\":\"Close\",\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_c('span',{attrs:{\"aria-hidden\":\"true\"}},[_vm._v(\"×\")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('p',[_vm._v(\"\\n Use this form to search for transactions you wish to link to this one. When in doubt, use \"),_c('code',[_vm._v(\"id:*\")]),_vm._v(\" where the ID is the number from\\n the URL.\\n \")])])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"submit\"}},[_c('i',{staticClass:\"fas fa-search\"}),_vm._v(\" Search\")])])},function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"modal-footer\"},[_c('button',{staticClass:\"btn btn-secondary\",attrs:{\"data-dismiss\":\"modal\",\"type\":\"button\"}},[_vm._v(\"Close\")])])}]\n\nexport { render, staticRenderFns }","<!--\n - TransactionLinks.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"showField\">\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.journal_links') }}\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <p v-if=\"links.length === 0\">\n <button class=\"btn btn-default btn-xs\" data-target=\"#linkModal\" @click=\"resetModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i> Add transaction link</button>\n </p>\n <ul v-if=\"links.length > 0\" class=\"list-group\">\n <li v-for=\"(transaction, index) in links\" class=\"list-group-item\" v-bind:key=\"index\">\n <em>{{ getTextForLinkType(transaction.link_type_id) }}</em>\n <a :href='\"./transaction/show/\" + transaction.transaction_group_id'>{{ transaction.description }}</a>\n\n <span v-if=\"transaction.type === 'withdrawal'\">\n (<span class=\"text-danger\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount) * -1)\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'deposit'\">\n (<span class=\"text-success\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <span v-if=\"transaction.type === 'transfer'\">\n (<span class=\"text-info\">{{\n Intl.NumberFormat(locale, {\n style: 'currency',\n currency: transaction.currency_code\n }).format(parseFloat(transaction.amount))\n }}</span>)\n </span>\n <div class=\"btn-group btn-group-xs float-right\">\n <button class=\"btn btn-xs btn-danger\" @click=\"removeLink(index)\" tabindex=\"-1\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </li>\n </ul>\n <div v-if=\"links.length > 0\" class=\"form-text\">\n <button class=\"btn btn-default\" @click=\"resetModal\" data-target=\"#linkModal\" data-toggle=\"modal\"><i class=\"fas fa-plus\"></i></button>\n </div>\n </div>\n </div>\n </div>\n <!-- modal -->\n <div id=\"linkModal\" class=\"modal\" tabindex=\"-1\" ref=\"linkModal\">\n <div class=\"modal-dialog modal-lg\">\n <div class=\"modal-content\">\n <div class=\"modal-header\">\n <h5 class=\"modal-title\">Transaction thing dialog.</h5>\n <button aria-label=\"Close\" class=\"close\" data-dismiss=\"modal\" type=\"button\">\n <span aria-hidden=\"true\">&times;</span>\n </button>\n </div>\n <div class=\"modal-body\">\n <div class=\"container-fluid\">\n <div class=\"row\">\n <div class=\"col\">\n <p>\n Use this form to search for transactions you wish to link to this one. When in doubt, use <code>id:*</code> where the ID is the number from\n the URL.\n </p>\n </div>\n </div>\n <div class=\"row\">\n <div class=\"col\">\n <form v-on:submit.prevent=\"search\">\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 &rarr;\n <a :href=\"'./accounts/show/' + result.destination_id\">{{ result.destination_name }}</a>\n </em>\n </td>\n </tr>\n </tbody>\n </table>\n </div>\n </div>\n </div>\n </div>\n <div class=\"modal-footer\">\n <button class=\"btn btn-secondary\" data-dismiss=\"modal\" type=\"button\">Close</button>\n </div>\n </div>\n </div>\n </div>\n </div>\n</template>\n\n<script>\nconst lodashClonedeep = require('lodash.clonedeep');\n// 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>&nbsp;</p>\n </div>\n</template>\n\n<script>\n\n// If you need to reference 'L', such as in 'L.icon', then be sure to\n// explicitly import 'leaflet' into your component\n// import L from 'leaflet';\nimport {LMap, LMarker, LTileLayer} from 'vue2-leaflet';\nimport 'leaflet/dist/leaflet.css';\n\nimport L from 'leaflet';\n\ndelete L.Icon.Default.prototype._getIconUrl;\n\nL.Icon.Default.mergeOptions({\n iconRetinaUrl: require('leaflet/dist/images/marker-icon-2x.png'),\n iconUrl: require('leaflet/dist/images/marker-icon.png'),\n shadowUrl: require('leaflet/dist/images/marker-shadow.png')\n });\n\nexport default {\n name: \"TransactionLocation\",\n props: {\n index: {},\n value: {\n type: Object,\n required: false\n },\n errors: {},\n customFields: {},\n },\n components: {\n LMap,\n LTileLayer,\n LMarker,\n },\n created() {\n if (null === this.value || typeof this.value === 'undefined') {\n axios.get('./api/v1/configuration/firefly.default_location').then(response => {\n this.zoom = parseInt(response.data.data.value.zoom_level);\n this.center =\n [\n parseFloat(response.data.data.value.latitude),\n parseFloat(response.data.data.value.longitude),\n ]\n ;\n });\n return;\n }\n if (null !== this.value.zoom_level && null !== this.value.latitude && null !== this.value.longitude) {\n this.zoom = this.value.zoom_level;\n this.center = [\n parseFloat(this.value.latitude),\n parseFloat(this.value.longitude),\n ];\n this.hasMarker = true;\n }\n },\n data() {\n return {\n availableFields: this.customFields,\n url: 'https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png',\n zoom: 3,\n center: [0, 0],\n bounds: null,\n map: null,\n hasMarker: false,\n marker: [0, 0],\n }\n },\n methods: {\n prepMap: function () {\n this.map = this.$refs.myMap.mapObject;\n this.map.on('contextmenu', this.setObjectLocation);\n this.map.on('zoomend', this.saveZoomLevel);\n },\n setObjectLocation: function (event) {\n this.marker = [event.latlng.lat, event.latlng.lng];\n this.hasMarker = true;\n this.emitEvent();\n },\n saveZoomLevel: function () {\n this.emitEvent();\n },\n clearLocation: function () {\n this.hasMarker = false;\n this.emitEvent();\n },\n emitEvent() {\n this.$emit('set-marker-location', {\n index: this.index,\n zoomLevel: this.zoom,\n lat: this.marker[0],\n lng: this.marker[1],\n hasMarker: this.hasMarker\n }\n );\n },\n zoomUpdated(zoom) {\n this.zoom = zoom;\n },\n centerUpdated(center) {\n this.center = center;\n },\n boundsUpdated(bounds) {\n this.bounds = bounds;\n }\n },\n computed: {\n showField: function () {\n if ('location' in this.availableFields) {\n return this.availableFields.location;\n }\n return false;\n }\n },\n watch: {\n customFields: function (value) {\n this.availableFields = value;\n },\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionLocation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionLocation.vue?vue&type=template&id=3bafa3c9&scoped=true&\"\nimport script from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionLocation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"3bafa3c9\",\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.showField)?_c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.location'))+\"\\n \")]),_vm._v(\" \"),_c('div',{staticStyle:{\"width\":\"100%\",\"height\":\"300px\"}},[_c('l-map',{ref:\"myMap\",staticStyle:{\"width\":\"100%\",\"height\":\"300px\"},attrs:{\"center\":_vm.center,\"zoom\":_vm.zoom},on:{\"ready\":function($event){return _vm.prepMap()},\"update:zoom\":_vm.zoomUpdated,\"update:center\":_vm.centerUpdated,\"update:bounds\":_vm.boundsUpdated}},[_c('l-tile-layer',{attrs:{\"url\":_vm.url}}),_vm._v(\" \"),_c('l-marker',{attrs:{\"lat-lng\":_vm.marker,\"visible\":_vm.hasMarker}})],1),_vm._v(\" \"),_c('span',[_c('button',{staticClass:\"btn btn-default btn-xs\",on:{\"click\":_vm.clearLocation}},[_vm._v(_vm._s(_vm.$t('firefly.clear_location')))])])],1),_vm._v(\" \"),_c('p',[_vm._v(\" \")])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitForm.vue?vue&type=script&lang=js&\"","<!--\n - SplitForm.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div :id=\"'split_' + index\" :class=\"'tab-pane' + (0===index ? ' active' : '')\">\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.basic_journal_information') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n <div v-if=\"count>1\" class=\"card-tools\">\n <button class=\"btn btn-danger btn-xs\" @click=\"removeTransaction\"><i class=\"fas fa-trash-alt\"></i></button>\n </div>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col\">\n <TransactionDescription\n v-model=\"transaction.description\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.description\"\n :index=\"index\"\n ></TransactionDescription>\n </div>\n </div>\n <!-- source and destination -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- SOURCE -->\n <TransactionAccount\n v-model=\"sourceAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.source\"\n :index=\"index\"\n :source-allowed-types=\"sourceAllowedTypes\"\n :transaction-type=\"transactionType\"\n direction=\"source\"\n />\n </div>\n <!-- switcharoo! -->\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <SwitchAccount\n v-if=\"0 === index && allowSwitch\"\n v-on=\"$listeners\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n />\n </div>\n\n <!-- destination -->\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!-- DESTINATION -->\n <TransactionAccount\n v-model=\"destinationAccount\"\n v-on=\"$listeners\"\n :allowed-opposing-types=\"allowedOpposingTypes\"\n :destination-allowed-types=\"destinationAllowedTypes\"\n :errors=\"transaction.errors.destination\"\n :index=\"index\"\n :transaction-type=\"transactionType\"\n :source-allowed-types=\"sourceAllowedTypes\"\n direction=\"destination\"\n />\n </div>\n </div>\n\n\n <!-- amount -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12\">\n <!-- AMOUNT -->\n <TransactionAmount\n v-on=\"$listeners\"\n :amount=\"transaction.amount\"\n :destination-currency-symbol=\"this.transaction.destination_account_currency_symbol\"\n :errors=\"transaction.errors.amount\"\n :index=\"index\"\n :source-currency-symbol=\"this.transaction.source_account_currency_symbol\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-2 col-lg-2 col-md-2 col-sm-12 text-center d-none d-sm-block\">\n <TransactionForeignCurrency\n v-model=\"transaction.foreign_currency_id\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <!--\n The reason that TransactionAmount gets the symbols and\n TransactionForeignAmount gets the ID's of the currencies is\n because ultimately TransactionAmount doesn't decide which\n currency id is submitted to Firefly III.\n -->\n <TransactionForeignAmount\n v-model=\"transaction.foreign_amount\"\n v-on=\"$listeners\"\n :destination-currency-id=\"this.transaction.destination_account_currency_id\"\n :errors=\"transaction.errors.foreign_amount\"\n :index=\"index\"\n :selected-currency-id=\"this.transaction.foreign_currency_id\"\n :source-currency-id=\"this.transaction.source_account_currency_id\"\n :transaction-type=\"this.transactionType\"\n />\n </div>\n </div>\n\n <!-- dates -->\n <div class=\"row\">\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12\">\n <TransactionDate\n v-on=\"$listeners\"\n :date=\"splitDate\"\n :errors=\"transaction.errors.date\"\n :index=\"index\"\n :time=\"splitTime\"\n />\n </div>\n\n <div class=\"col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12 offset-xl-2 offset-lg-2\">\n <TransactionCustomDates\n v-on=\"$listeners\"\n :book-date=\"transaction.book_date\"\n :custom-fields.sync=\"customFields\"\n :due-date=\"transaction.due_date\"\n :errors=\"transaction.errors.custom_dates\"\n :index=\"index\"\n :interest-date=\"transaction.interest_date\"\n :invoice-date=\"transaction.invoice_date\"\n :payment-date=\"transaction.payment_date\"\n :process-date=\"transaction.process_date\"\n />\n </div>\n </div>\n\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div> <!-- end of basic card -->\n\n <!-- card for meta -->\n <div class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_meta') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <!-- meta -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBudget\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.budget_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.budget\"\n :index=\"index\"\n />\n <TransactionCategory\n v-model=\"transaction.category\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.category\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n <TransactionBill\n v-if=\"!('Transfer' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.bill_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.bill\"\n :index=\"index\"\n />\n <TransactionTags\n v-model=\"transaction.tags\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.tags\"\n :index=\"index\"\n />\n <TransactionPiggyBank\n v-if=\"!('Withdrawal' === transactionType || 'Deposit' === transactionType)\"\n v-model=\"transaction.piggy_bank_id\"\n v-on=\"$listeners\"\n :errors=\"transaction.errors.piggy_bank\"\n :index=\"index\"\n />\n </div>\n </div>\n </div>\n </div>\n </div>\n </div>\n <!-- end card for meta -->\n <!-- card for extra -->\n <div v-if=\"hasMetaFields\" class=\"row\">\n <div class=\"col\">\n <div class=\"card\">\n <div class=\"card-header\">\n <h3 class=\"card-title\">\n {{ $t('firefly.transaction_journal_extra') }}\n <span v-if=\"count > 1\">({{ index + 1 }} / {{ count }}) </span>\n </h3>\n </div>\n <div class=\"card-body\">\n <!-- start of body -->\n <div class=\"row\">\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionInternalReference\n v-model=\"transaction.internal_reference\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.internal_reference\"\n :index=\"index\"\n />\n\n <TransactionExternalUrl\n v-model=\"transaction.external_url\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.external_url\"\n :index=\"index\"\n />\n <TransactionNotes\n v-model=\"transaction.notes\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.notes\"\n :index=\"index\"\n />\n </div>\n <div class=\"col-xl-6 col-lg-6 col-md-12 col-sm-12 col-xs-12\">\n\n <TransactionAttachments\n ref=\"attachments\"\n v-model=\"transaction.attachments\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n :submitted_transaction=\"submittedTransaction\"\n :transaction_journal_id=\"transaction.transaction_journal_id\"\n />\n <TransactionLocation\n v-model=\"transaction.location\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :errors=\"transaction.errors.location\"\n :index=\"index\"\n />\n\n <TransactionLinks\n v-model=\"transaction.links\"\n v-on=\"$listeners\"\n :custom-fields.sync=\"customFields\"\n :index=\"index\"\n />\n </div>\n\n </div>\n <!-- end of body -->\n </div>\n </div>\n </div>\n </div>\n <!-- end card for extra -->\n <!-- end of card -->\n </div>\n</template>\n\n<script>\n\nimport TransactionDescription from \"./TransactionDescription\";\nimport TransactionDate from \"./TransactionDate\";\nimport TransactionBudget from \"./TransactionBudget\";\nimport TransactionAccount from \"./TransactionAccount\";\nimport SwitchAccount from \"./SwitchAccount\";\nimport TransactionAmount from \"./TransactionAmount\";\nimport TransactionForeignAmount from \"./TransactionForeignAmount\";\nimport TransactionForeignCurrency from \"./TransactionForeignCurrency\";\nimport TransactionCustomDates from \"./TransactionCustomDates\";\nimport TransactionCategory from \"./TransactionCategory\";\nimport TransactionBill from \"./TransactionBill\";\nimport TransactionTags from \"./TransactionTags\";\nimport TransactionPiggyBank from \"./TransactionPiggyBank\";\nimport TransactionInternalReference from \"./TransactionInternalReference\";\nimport TransactionExternalUrl from \"./TransactionExternalUrl\";\nimport TransactionNotes from \"./TransactionNotes\";\nimport TransactionLinks from \"./TransactionLinks\";\nimport TransactionAttachments from \"./TransactionAttachments\";\nimport SplitPills from \"./SplitPills\";\nimport TransactionLocation from \"./TransactionLocation\";\n\nexport default {\n name: \"SplitForm\",\n props: {\n transaction: {\n type: Object,\n required: true\n },\n count: {\n type: Number,\n required: false\n },\n customFields: {\n type: Object,\n required: false\n },\n index: {\n type: Number,\n required: true\n },\n date: {\n type: Date,\n required: true\n },\n time: {\n type: Date,\n required: true\n },\n transactionType: {\n type: String,\n required: true\n },\n submittedTransaction: {\n type: Boolean,\n required: false,\n default: false\n }, // need to know if transaction is submitted.\n sourceAllowedTypes: {\n type: Array,\n required: false,\n default: []\n }, // allowed source account types.\n destinationAllowedTypes: {\n type: Array,\n required: false,\n default: []\n },\n allowedOpposingTypes: {\n type: Object,\n required: false,\n default: {}\n },\n // allow switch?\n allowSwitch: {\n type: Boolean,\n required: false,\n default: true\n }\n\n },\n // watch: {\n // allowedOpposingTypes: function() {\n // console.log('SplitForm noticed change in allowedOpposingTypes');\n // }\n // },\n methods: {\n removeTransaction: function () {\n // console.log('Will remove transaction ' + this.index);\n this.$emit('remove-transaction', {index: this.index});\n },\n },\n computed: {\n splitDate: function () {\n return this.date;\n },\n splitTime: function () {\n return this.time;\n },\n sourceAccount: function () {\n return {\n id: this.transaction.source_account_id,\n name: this.transaction.source_account_name,\n type: this.transaction.source_account_type,\n };\n },\n destinationAccount: function () {\n return {\n id: this.transaction.destination_account_id,\n name: this.transaction.destination_account_name,\n type: this.transaction.destination_account_type,\n };\n },\n hasMetaFields: function () {\n let requiredFields = [\n 'internal_reference',\n 'notes',\n 'attachments',\n 'external_uri',\n 'location',\n 'links',\n ];\n for (let field in this.customFields) {\n if (this.customFields.hasOwnProperty(field)) {\n if (requiredFields.includes(field)) {\n if (true === this.customFields[field]) {\n return true;\n }\n }\n }\n }\n return false;\n }\n },\n components: {\n TransactionLocation,\n SplitPills,\n TransactionAttachments,\n TransactionNotes,\n TransactionExternalUrl,\n TransactionInternalReference,\n TransactionPiggyBank,\n TransactionTags,\n TransactionLinks,\n TransactionBill,\n TransactionCategory,\n TransactionCustomDates,\n TransactionForeignCurrency,\n TransactionForeignAmount,\n TransactionAmount,\n SwitchAccount,\n TransactionAccount,\n TransactionBudget,\n TransactionDescription,\n TransactionDate\n },\n}\n</script>\n","import { render, staticRenderFns } from \"./SplitForm.vue?vue&type=template&id=5433c0d4&\"\nimport script from \"./SplitForm.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitForm.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","<!--\n - SplitPills.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div v-if=\"transactions.length > 1\" class=\"row\">\n <div class=\"col\">\n <!-- tabs -->\n <ul class=\"nav nav-pills ml-auto p-2\">\n <li v-for=\"(transaction, index) in this.transactions\" class=\"nav-item\"><a :class=\"'nav-link' + (0===index ? ' active' : '')\" :href=\"'#split_' + index\"\n data-toggle=\"tab\">\n <span v-if=\"'' !== transaction.description\">{{ transaction.description }}</span>\n <span v-if=\"'' === transaction.description\">Split {{ index + 1 }}</span>\n </a></li>\n </ul>\n </div>\n </div>\n</template>\n\n<script>\nexport default {\n name: \"SplitPills\",\n props: ['transactions']\n}\n</script>\n","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./SplitPills.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./SplitPills.vue?vue&type=template&id=0e910ecf&\"\nimport script from \"./SplitPills.vue?vue&type=script&lang=js&\"\nexport * from \"./SplitPills.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return (_vm.transactions.length > 1)?_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col\"},[_c('ul',{staticClass:\"nav nav-pills ml-auto p-2\"},_vm._l((this.transactions),function(transaction,index){return _c('li',{staticClass:\"nav-item\"},[_c('a',{class:'nav-link' + (0===index ? ' active' : ''),attrs:{\"href\":'#split_' + index,\"data-toggle\":\"tab\"}},[('' !== transaction.description)?_c('span',[_vm._v(_vm._s(transaction.description))]):_vm._e(),_vm._v(\" \"),('' === transaction.description)?_c('span',[_vm._v(\"Split \"+_vm._s(index + 1))]):_vm._e()])])}),0)])]):_vm._e()}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:\"form-group\"},[_c('div',{staticClass:\"text-xs d-none d-lg-block d-xl-block\"},[_vm._v(\"\\n \"+_vm._s(_vm.$t('firefly.split_transaction_title'))+\"\\n \")]),_vm._v(\" \"),_c('vue-typeahead-bootstrap',{attrs:{\"data\":_vm.descriptions,\"inputClass\":_vm.errors.length > 0 ? 'is-invalid' : '',\"minMatchingChars\":3,\"placeholder\":_vm.$t('firefly.split_transaction_title'),\"serializer\":function (item) { return item.description; },\"showOnFocus\":true,\"inputName\":\"group_title\"},on:{\"input\":_vm.lookupDescription},model:{value:(_vm.title),callback:function ($$v) {_vm.title=$$v},expression:\"title\"}},[_c('template',{slot:\"append\"},[_c('div',{staticClass:\"input-group-append\"},[_c('button',{staticClass:\"btn btn-outline-secondary\",attrs:{\"tabindex\":\"-1\",\"type\":\"button\"},on:{\"click\":_vm.clearDescription}},[_c('i',{staticClass:\"far fa-trash-alt\"})])])])],2),_vm._v(\" \"),(_vm.errors.length > 0)?_c('span',_vm._l((_vm.errors),function(error){return _c('span',{staticClass:\"text-danger small\"},[_vm._v(_vm._s(error)),_c('br')])}),0):_vm._e()],1)}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<!--\n - TransactionGroupTitle.vue\n - Copyright (c) 2021 [email protected]\n -\n - This file is part of Firefly III (https://github.com/firefly-iii).\n -\n - This program is free software: you can redistribute it and/or modify\n - it under the terms of the GNU Affero General Public License as\n - published by the Free Software Foundation, either version 3 of the\n - License, or (at your option) any later version.\n -\n - This program is distributed in the hope that it will be useful,\n - but WITHOUT ANY WARRANTY; without even the implied warranty of\n - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n - GNU Affero General Public License for more details.\n -\n - You should have received a copy of the GNU Affero General Public License\n - along with this program. If not, see <https://www.gnu.org/licenses/>.\n -->\n\n<template>\n <div class=\"form-group\">\n <div class=\"text-xs d-none d-lg-block d-xl-block\">\n {{ $t('firefly.split_transaction_title') }}\n </div>\n <vue-typeahead-bootstrap\n v-model=\"title\"\n :data=\"descriptions\"\n :inputClass=\"errors.length > 0 ? 'is-invalid' : ''\"\n :minMatchingChars=\"3\"\n :placeholder=\"$t('firefly.split_transaction_title')\"\n :serializer=\"item => item.description\"\n :showOnFocus=true\n inputName=\"group_title\"\n @input=\"lookupDescription\"\n >\n <template slot=\"append\">\n <div class=\"input-group-append\">\n <button class=\"btn btn-outline-secondary\" tabindex=\"-1\" type=\"button\" v-on:click=\"clearDescription\"><i class=\"far fa-trash-alt\"></i></button>\n </div>\n </template>\n </vue-typeahead-bootstrap>\n\n <span v-if=\"errors.length > 0\">\n <span v-for=\"error in errors\" class=\"text-danger small\">{{ error }}<br/></span>\n </span>\n\n </div>\n</template>\n\n<script>\nimport VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';\nimport {debounce} from \"lodash\";\n\nexport default {\n props: ['value', 'errors'],\n name: \"TransactionGroupTitle\",\n components: {VueTypeaheadBootstrap},\n data() {\n return {\n descriptions: [],\n initialSet: [],\n title: this.value,\n emitEvent: true\n }\n },\n\n created() {\n axios.get(this.getACURL(''))\n .then(response => {\n this.descriptions = response.data;\n this.initialSet = response.data;\n });\n },\n watch: {\n value: function (value) {\n this.title = value;\n },\n title: function (value) {\n this.$emit('set-group-title', value);\n }\n },\n methods: {\n clearDescription: function () {\n this.title = '';\n },\n getACURL: function (query) {\n // update autocomplete URL:\n return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;\n },\n lookupDescription: debounce(function () {\n // update autocomplete URL:\n axios.get(this.getACURL(this.title))\n .then(response => {\n this.descriptions = response.data;\n })\n }, 300)\n }\n}\n</script>\n\n<style scoped>\n\n</style>","import mod from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-5[0].rules[0].use[0]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionGroupTitle.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./TransactionGroupTitle.vue?vue&type=template&id=273271bf&scoped=true&\"\nimport script from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\nexport * from \"./TransactionGroupTitle.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"273271bf\",\n null\n \n)\n\nexport default component.exports","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[1]!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/dist/cjs.js??clonedRuleSet-9[0].rules[0].use[2]!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./TransactionTags.vue?vue&type=style&index=0&lang=css&\");\nif(content.__esModule) content = content.default;\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"bf9ab7ac\", content, true, {});"],"sourceRoot":""}
\ No newline at end of file
diff --git a/public/v2/js/transactions/index.js b/public/v2/js/transactions/index.js
index d524598f51..0f44c1895e 100755
--- a/public/v2/js/transactions/index.js
+++ b/public/v2/js/transactions/index.js
@@ -1,2 +1,2 @@
-(self.webpackChunk=self.webpackChunk||[]).push([[111],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},8923:(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:{}}}function s(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var o=e.getHours();o<10&&(o="0"+o);var s=e.getMinutes();s<10&&(s="0"+s);var r=e.getSeconds();r<10&&(r="0"+r);var i=-e.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var _="+";return i<0&&(_="-"),t+"-"+a+"-"+n+"T"+o+":"+s+":"+r+_+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>o,u6:()=>s})},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),o=a.n(n),s=a(629),r=a(8923),i=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,r.f$)(),defaultErrors:(0,r.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=i(e.defaultTransaction);t.errors=i(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=i(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 _={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 r=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][r],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 u=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(u.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 g={namespaced:!0,state:u,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const p={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:g,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:p}},dashboard:{namespaced:!0,modules:{index:_}}},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)}})},212:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),s=a(9899);const r={name:"Index"};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("Hello")])}),[],!1,null,"5c642f4e",null).exports;a(232);var c=a(157),l={};new(o())({i18n:c,store:s.Z,render:function(e){return e(i,{props:l})},beforeCreate:function(){this.$store.commit("initialiseStore")}}).$mount("#transactions_index")},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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","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":"Include?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","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":"Include?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=212,e(e.s=t);var t}));e.O()}]);
+(self.webpackChunk=self.webpackChunk||[]).push([[111],{232:(e,t,a)=>{"use strict";a.r(t);var n=a(7760),o=a.n(n),s=a(7152),r=a(4605);window.$=window.jQuery=a(9755),window.axios=a(9669),window.axios.defaults.headers.common["X-Requested-With"]="XMLHttpRequest";var i=document.head.querySelector('meta[name="csrf-token"]');i?window.axios.defaults.headers.common["X-CSRF-TOKEN"]=i.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=r,o().use(vuei18n),o().use(r),window.Vue=o()},8923:(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:{}}}function s(e){var t=e.getFullYear(),a=e.getMonth();++a<10&&(a="0"+a);var n=e.getDate();n<10&&(n="0"+n);var o=e.getHours();o<10&&(o="0"+o);var s=e.getMinutes();s<10&&(s="0"+s);var r=e.getSeconds();r<10&&(r="0"+r);var i=-e.getTimezoneOffset(),c=Math.abs(Math.floor(i/60)),l=Math.abs(i)-60*c;c<10&&(c="0"+c),l<10&&(l="0"+l);var _="+";return i<0&&(_="-"),t+"-"+a+"-"+n+"T"+o+":"+s+":"+r+_+c+":"+l}a.d(t,{kQ:()=>n,f$:()=>o,u6:()=>s})},9899:(e,t,a)=>{"use strict";a.d(t,{Z:()=>m});var n=a(7760),o=a.n(n),s=a(629),r=a(8923),i=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,r.f$)(),defaultErrors:(0,r.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=i(e.defaultTransaction);t.errors=i(e.defaultErrors),e.transactions.push(t)},resetErrors:function(e,t){e.transactions[t.index].errors=i(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 _={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 r=t.getMonth()<=5?0:1;(t=new Date(t.getFullYear(),[0,6][r],1)).setHours(0,0,0,0),a=new Date(a.getFullYear(),[5,11][r],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 u=function(){return{listPageSize:33}},d={initialiseStore:function(e){localStorage.listPageSize&&(u.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 g={namespaced:!0,state:u,getters:{listPageSize:function(e){return e.listPageSize}},actions:d,mutations:{setListPageSize:function(e,t){var a=parseInt(t.length);0!==a&&(e.listPageSize=a)}}};const p={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:g,transactions:{namespaced:!0,modules:{create:c,edit:l}},accounts:{namespaced:!0,modules:{index:p}},dashboard:{namespaced:!0,modules:{index:_}}},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)}})},212:(e,t,a)=>{"use strict";var n=a(7760),o=a.n(n),s=a(9899);const r={name:"Index"};const i=(0,a(1900).Z)(r,(function(){var e=this,t=e.$createElement;return(e._self._c||t)("div",[e._v("Hello")])}),[],!1,null,"5c642f4e",null).exports;a(232);var c=a(157),l={};new(o())({i18n:c,store:s.Z,render:function(e){return e(i,{props:l})},beforeCreate:function(){this.$store.commit("initialiseStore")}}).$mount("#transactions_index")},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":"Вижте активите си","transaction_table_description":"Таблица съдържаща вашите транзакции","account":"Сметка","description":"Описание","amount":"Сума","budget":"Бюджет","category":"Категория","opposing_account":"Противоположна сметка","budgets":"Бюджети","categories":"Категории","go_to_budgets":"Вижте бюджетите си","income":"Приходи","go_to_deposits":"Отиди в депозити","go_to_categories":"Виж категориите си","expense_accounts":"Сметки за разходи","go_to_expenses":"Отиди в Разходи","go_to_bills":"Виж сметките си","bills":"Сметки","last_thirty_days":"Последните трийсет дни","last_seven_days":"Последните седем дни","go_to_piggies":"Виж касичките си","saved":"Записан","piggy_banks":"Касички","piggy_bank":"Касичка","amounts":"Суми","left":"Останали","spent":"Похарчени","Default asset account":"Сметка за активи по подразбиране","search_results":"Резултати от търсенето","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Сметка за активи по подразбиране","account_role_savingAsset":"Спестовна сметка","account_role_sharedAsset":"Сметка за споделени активи","clear_location":"Изчисти местоположението","account_role_ccAsset":"Кредитна карта","account_role_cashWalletAsset":"Паричен портфейл","daily_budgets":"Дневни бюджети","weekly_budgets":"Седмични бюджети","monthly_budgets":"Месечни бюджети","quarterly_budgets":"Тримесечни бюджети","create_new_expense":"Създай нова сметка за разходи","create_new_revenue":"Създай нова сметка за приходи","create_new_liabilities":"Create new liability","half_year_budgets":"Шестмесечни бюджети","yearly_budgets":"Годишни бюджети","split_transaction_title":"Описание на разделена транзакция","errors_submission":"Имаше нещо нередно с вашите данни. Моля, проверете грешките.","flash_error":"Грешка!","store_transaction":"Store transaction","flash_success":"Успех!","create_another":"След съхраняването се върнете тук, за да създадете нова.","update_transaction":"Обнови транзакцията","after_update_create_another":"След обновяването се върнете тук, за да продължите с редакцията.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Търсене","create_new_asset":"Създай нова сметка за активи","asset_accounts":"Сметки за активи","reset_after":"Изчистване на формуляра след изпращане","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID}(\\"{title}\\")</a> беше записана.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Местоположение","other_budgets":"Времево персонализирани бюджети","journal_links":"Връзки на транзакция","go_to_withdrawals":"Вижте тегленията си","revenue_accounts":"Сметки за приходи","add_another_split":"Добавяне на друг раздел","actions":"Действия","edit":"Промени","delete":"Изтрий","reconcile_this_account":"Съгласувай тази сметка"},"list":{"piggy_bank":"Касичка","percentage":"%","amount":"Сума","name":"Име","role":"Привилегии","iban":"IBAN","currentBalance":"Текущ баланс","next_expected_match":"Следващo очакванo съвпадение"},"config":{"html_language":"bg"},"form":{"foreign_amount":"Сума във валута","interest_date":"Падеж на лихва","book_date":"Дата на осчетоводяване","process_date":"Дата на обработка","due_date":"Дата на падеж","payment_date":"Дата на плащане","invoice_date":"Дата на фактура"}}')},6407: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","transaction_table_description":"A table containing your transactions","account":"Účet","description":"Popis","amount":"Částka","budget":"Rozpočet","category":"Kategorie","opposing_account":"Protiúčet","budgets":"Rozpočty","categories":"Kategorie","go_to_budgets":"Přejít k rozpočtům","income":"Odměna/příjem","go_to_deposits":"Přejít na vklady","go_to_categories":"Přejít ke kategoriím","expense_accounts":"Výdajové účty","go_to_expenses":"Přejít na výdaje","go_to_bills":"Přejít k účtům","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dnů","go_to_piggies":"Přejít k pokladničkám","saved":"Uloženo","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Amounts","left":"Zbývá","spent":"Utraceno","Default asset account":"Výchozí účet s aktivy","search_results":"Výsledky hledání","include":"Include?","transaction":"Transakce","account_role_defaultAsset":"Výchozí účet aktiv","account_role_savingAsset":"Spořicí účet","account_role_sharedAsset":"Sdílený účet aktiv","clear_location":"Vymazat umístění","account_role_ccAsset":"Kreditní karta","account_role_cashWalletAsset":"Peněženka","daily_budgets":"Denní rozpočty","weekly_budgets":"Týdenní rozpočty","monthly_budgets":"Měsíční rozpočty","quarterly_budgets":"Čtvrtletní rozpočty","create_new_expense":"Vytvořit výdajový účet","create_new_revenue":"Vytvořit nový příjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Pololetní rozpočty","yearly_budgets":"Roční rozpočty","split_transaction_title":"Popis rozúčtování","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Chyba!","store_transaction":"Store transaction","flash_success":"Úspěšně dokončeno!","create_another":"After storing, return here to create another one.","update_transaction":"Aktualizovat transakci","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hledat","create_new_asset":"Vytvořit nový účet aktiv","asset_accounts":"Účty aktiv","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Vlastní období","reset_to_current":"Obnovit aktuální období","select_period":"Vyberte období","location":"Umístění","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Přejít na výběry","revenue_accounts":"Příjmové účty","add_another_split":"Přidat další rozúčtování","actions":"Akce","edit":"Upravit","delete":"Odstranit","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"%","amount":"Částka","name":"Jméno","role":"Role","iban":"IBAN","currentBalance":"Aktuální zůstatek","next_expected_match":"Další očekávaná shoda"},"config":{"html_language":"cs"},"form":{"foreign_amount":"Částka v cizí měně","interest_date":"Úrokové datum","book_date":"Datum rezervace","process_date":"Datum zpracování","due_date":"Datum splatnosti","payment_date":"Datum zaplacení","invoice_date":"Datum vystavení"}}')},4726: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","transaction_table_description":"Eine Tabelle mit Ihren Buchungen","account":"Konto","description":"Beschreibung","amount":"Betrag","budget":"Budget","category":"Kategorie","opposing_account":"Gegenkonto","budgets":"Budgets","categories":"Kategorien","go_to_budgets":"Budgets anzeigen","income":"Einnahmen / Einkommen","go_to_deposits":"Zu Einlagen wechseln","go_to_categories":"Kategorien anzeigen","expense_accounts":"Ausgabekonten","go_to_expenses":"Zu Ausgaben wechseln","go_to_bills":"Rechnungen anzeigen","bills":"Rechnungen","last_thirty_days":"Letzte 30 Tage","last_seven_days":"Letzte sieben Tage","go_to_piggies":"Sparschweine anzeigen","saved":"Gespeichert","piggy_banks":"Sparschweine","piggy_bank":"Sparschwein","amounts":"Beträge","left":"Übrig","spent":"Ausgegeben","Default asset account":"Standard-Bestandskonto","search_results":"Suchergebnisse","include":"Inbegriffen?","transaction":"Überweisung","account_role_defaultAsset":"Standard-Bestandskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Gemeinsames Bestandskonto","clear_location":"Ort leeren","account_role_ccAsset":"Kreditkarte","account_role_cashWalletAsset":"Geldbörse","daily_budgets":"Tagesbudgets","weekly_budgets":"Wochenbudgets","monthly_budgets":"Monatsbudgets","quarterly_budgets":"Quartalsbudgets","create_new_expense":"Neues Ausgabenkonto erstellen","create_new_revenue":"Neues Einnahmenkonto erstellen","create_new_liabilities":"Neue Verbindlichkeit anlegen","half_year_budgets":"Halbjahresbudgets","yearly_budgets":"Jahresbudgets","split_transaction_title":"Beschreibung der Splittbuchung","errors_submission":"Ihre Übermittlung ist fehlgeschlagen. Bitte überprüfen Sie die Fehler.","flash_error":"Fehler!","store_transaction":"Buchung speichern","flash_success":"Geschafft!","create_another":"Nach dem Speichern hierher zurückkehren, um ein weiteres zu erstellen.","update_transaction":"Buchung aktualisieren","after_update_create_another":"Nach dem Aktualisieren hierher zurückkehren, um weiter zu bearbeiten.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde nicht verändert.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Die Buchung #{ID}</a> (\\"{title}\\") wurde aktualisiert.","spent_x_of_y":"{amount} von {total} ausgegeben","search":"Suche","create_new_asset":"Neues Bestandskonto erstellen","asset_accounts":"Bestandskonten","reset_after":"Formular nach der Übermittlung zurücksetzen","bill_paid_on":"Bezahlt am {date}","first_split_decides":"Die erste Aufteilung bestimmt den Wert dieses Feldes","first_split_overrules_source":"Die erste Aufteilung könnte das Quellkonto überschreiben","first_split_overrules_destination":"Die erste Aufteilung könnte das Zielkonto überschreiben","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Buchung #{ID} (\\"{title}\\")</a> wurde gespeichert.","custom_period":"Benutzerdefinierter Zeitraum","reset_to_current":"Auf aktuellen Zeitraum zurücksetzen","select_period":"Zeitraum auswählen","location":"Standort","other_budgets":"Zeitlich befristete Budgets","journal_links":"Buchungsverknüpfungen","go_to_withdrawals":"Ausgaben anzeigen","revenue_accounts":"Einnahmekonten","add_another_split":"Eine weitere Aufteilung hinzufügen","actions":"Aktionen","edit":"Bearbeiten","delete":"Löschen","reconcile_this_account":"Dieses Konto abgleichen"},"list":{"piggy_bank":"Sparschwein","percentage":"%","amount":"Betrag","name":"Name","role":"Rolle","iban":"IBAN","currentBalance":"Aktueller Kontostand","next_expected_match":"Nächste erwartete Übereinstimmung"},"config":{"html_language":"de"},"form":{"foreign_amount":"Ausländischer Betrag","interest_date":"Zinstermin","book_date":"Buchungsdatum","process_date":"Bearbeitungsdatum","due_date":"Fälligkeitstermin","payment_date":"Zahlungsdatum","invoice_date":"Rechnungsdatum"}}')},3636: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":"Δείτε τους λογαριασμούς κεφαλαίου σας","transaction_table_description":"Ένας πίνακας με τις συναλλαγές σας","account":"Λογαριασμός","description":"Περιγραφή","amount":"Ποσό","budget":"Προϋπολογισμός","category":"Κατηγορία","opposing_account":"Έναντι λογαριασμός","budgets":"Προϋπολογισμοί","categories":"Κατηγορίες","go_to_budgets":"Πηγαίνετε στους προϋπολογισμούς σας","income":"Έσοδα","go_to_deposits":"Πηγαίνετε στις καταθέσεις","go_to_categories":"Πηγαίνετε στις κατηγορίες σας","expense_accounts":"Δαπάνες","go_to_expenses":"Πηγαίνετε στις δαπάνες","go_to_bills":"Πηγαίνετε στα πάγια έξοδα","bills":"Πάγια έξοδα","last_thirty_days":"Τελευταίες τριάντα ημέρες","last_seven_days":"Τελευταίες επτά ημέρες","go_to_piggies":"Πηγαίνετε στους κουμπαράδες σας","saved":"Αποθηκεύτηκε","piggy_banks":"Κουμπαράδες","piggy_bank":"Κουμπαράς","amounts":"Ποσά","left":"Απομένουν","spent":"Δαπανήθηκαν","Default asset account":"Βασικός λογαριασμός κεφαλαίου","search_results":"Αποτελέσματα αναζήτησης","include":"Include?","transaction":"Συναλλαγή","account_role_defaultAsset":"Βασικός λογαριασμός κεφαλαίου","account_role_savingAsset":"Λογαριασμός αποταμίευσης","account_role_sharedAsset":"Κοινός λογαριασμός κεφαλαίου","clear_location":"Εκκαθάριση τοποθεσίας","account_role_ccAsset":"Πιστωτική κάρτα","account_role_cashWalletAsset":"Πορτοφόλι μετρητών","daily_budgets":"Ημερήσιοι προϋπολογισμοί","weekly_budgets":"Εβδομαδιαίοι προϋπολογισμοί","monthly_budgets":"Μηνιαίοι προϋπολογισμοί","quarterly_budgets":"Τριμηνιαίοι προϋπολογισμοί","create_new_expense":"Δημιουργία νέου λογαριασμού δαπανών","create_new_revenue":"Δημιουργία νέου λογαριασμού εσόδων","create_new_liabilities":"Create new liability","half_year_budgets":"Εξαμηνιαίοι προϋπολογισμοί","yearly_budgets":"Ετήσιοι προϋπολογισμοί","split_transaction_title":"Περιγραφή της συναλλαγής με διαχωρισμό","errors_submission":"Υπήρξε κάποιο λάθος με την υποβολή σας. Παρακαλώ ελέγξτε τα σφάλματα.","flash_error":"Σφάλμα!","store_transaction":"Αποθήκευση συναλλαγής","flash_success":"Επιτυχία!","create_another":"Μετά την αποθήκευση, επιστρέψτε εδώ για να δημιουργήσετε ακόμη ένα.","update_transaction":"Ενημέρωση συναλλαγής","after_update_create_another":"Μετά την ενημέρωση, επιστρέψτε εδώ για να συνεχίσετε την επεξεργασία.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") παρέμεινε χωρίς καμία αλλαγή.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID}</a> (\\"{title}\\") έχει ενημερωθεί.","spent_x_of_y":"Spent {amount} of {total}","search":"Αναζήτηση","create_new_asset":"Δημιουργία νέου λογαριασμού κεφαλαίου","asset_accounts":"Κεφάλαια","reset_after":"Επαναφορά φόρμας μετά την υποβολή","bill_paid_on":"Πληρώθηκε στις {date}","first_split_decides":"Ο πρώτος διαχωρισμός καθορίζει την τιμή αυτού του πεδίου","first_split_overrules_source":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προέλευσης","first_split_overrules_destination":"Ο πρώτος διαχωρισμός ενδέχεται να παρακάμψει τον λογαριασμό προορισμού","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Η συναλλαγή #{ID} (\\"{title}\\")</a> έχει αποθηκευτεί.","custom_period":"Προσαρμοσμένη περίοδος","reset_to_current":"Επαναφορά στην τρέχουσα περίοδο","select_period":"Επιλέξτε περίοδο","location":"Τοποθεσία","other_budgets":"Προϋπολογισμοί με χρονική προσαρμογή","journal_links":"Συνδέσεις συναλλαγών","go_to_withdrawals":"Πηγαίνετε στις αναλήψεις σας","revenue_accounts":"Έσοδα","add_another_split":"Προσθήκη ενός ακόμα διαχωρισμού","actions":"Ενέργειες","edit":"Επεξεργασία","delete":"Διαγραφή","reconcile_this_account":"Τακτοποίηση αυτού του λογαριασμού"},"list":{"piggy_bank":"Κουμπαράς","percentage":"pct.","amount":"Ποσό","name":"Όνομα","role":"Ρόλος","iban":"IBAN","currentBalance":"Τρέχον υπόλοιπο","next_expected_match":"Επόμενη αναμενόμενη αντιστοίχιση"},"config":{"html_language":"el"},"form":{"foreign_amount":"Ποσό σε ξένο νόμισμα","interest_date":"Ημερομηνία τοκισμού","book_date":"Ημερομηνία εγγραφής","process_date":"Ημερομηνία επεξεργασίας","due_date":"Ημερομηνία προθεσμίας","payment_date":"Ημερομηνία πληρωμής","invoice_date":"Ημερομηνία τιμολόγησης"}}')},6318: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en-gb"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},3340: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","transaction_table_description":"A table containing your transactions","account":"Account","description":"Description","amount":"Amount","budget":"Budget","category":"Category","opposing_account":"Opposing account","budgets":"Budgets","categories":"Categories","go_to_budgets":"Go to your budgets","income":"Revenue / income","go_to_deposits":"Go to deposits","go_to_categories":"Go to your categories","expense_accounts":"Expense accounts","go_to_expenses":"Go to expenses","go_to_bills":"Go to your bills","bills":"Bills","last_thirty_days":"Last thirty days","last_seven_days":"Last seven days","go_to_piggies":"Go to your piggy banks","saved":"Saved","piggy_banks":"Piggy banks","piggy_bank":"Piggy bank","amounts":"Amounts","left":"Left","spent":"Spent","Default asset account":"Default asset account","search_results":"Search results","include":"Include?","transaction":"Transaction","account_role_defaultAsset":"Default asset account","account_role_savingAsset":"Savings account","account_role_sharedAsset":"Shared asset account","clear_location":"Clear location","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash wallet","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Create new expense account","create_new_revenue":"Create new revenue account","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Error!","store_transaction":"Store transaction","flash_success":"Success!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Search","create_new_asset":"Create new asset account","asset_accounts":"Asset accounts","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Location","other_budgets":"Custom timed budgets","journal_links":"Transaction links","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Revenue accounts","add_another_split":"Add another split","actions":"Actions","edit":"Edit","delete":"Delete","reconcile_this_account":"Reconcile this account"},"list":{"piggy_bank":"Piggy bank","percentage":"pct.","amount":"Amount","name":"Name","role":"Role","iban":"IBAN","currentBalance":"Current balance","next_expected_match":"Next expected match"},"config":{"html_language":"en"},"form":{"foreign_amount":"Foreign amount","interest_date":"Interest date","book_date":"Book date","process_date":"Processing date","due_date":"Due date","payment_date":"Payment date","invoice_date":"Invoice date"}}')},5394: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","transaction_table_description":"Una tabla que contiene sus transacciones","account":"Cuenta","description":"Descripción","amount":"Cantidad","budget":"Presupuesto","category":"Categoria","opposing_account":"Cuenta opuesta","budgets":"Presupuestos","categories":"Categorías","go_to_budgets":"Ir a tus presupuestos","income":"Ingresos / salarios","go_to_deposits":"Ir a depósitos","go_to_categories":"Ir a tus categorías","expense_accounts":"Cuentas de gastos","go_to_expenses":"Ir a gastos","go_to_bills":"Ir a tus cuentas","bills":"Facturas","last_thirty_days":"Últimos treinta días","last_seven_days":"Últimos siete días","go_to_piggies":"Ir a tu hucha","saved":"Guardado","piggy_banks":"Huchas","piggy_bank":"Hucha","amounts":"Importes","left":"Disponible","spent":"Gastado","Default asset account":"Cuenta de ingresos por defecto","search_results":"Buscar resultados","include":"Include?","transaction":"Transaccion","account_role_defaultAsset":"Cuentas de ingresos por defecto","account_role_savingAsset":"Cuentas de ahorros","account_role_sharedAsset":"Cuenta de ingresos compartida","clear_location":"Eliminar ubicación","account_role_ccAsset":"Tarjeta de Crédito","account_role_cashWalletAsset":"Billetera de efectivo","daily_budgets":"Presupuestos diarios","weekly_budgets":"Presupuestos semanales","monthly_budgets":"Presupuestos mensuales","quarterly_budgets":"Presupuestos trimestrales","create_new_expense":"Crear nueva cuenta de gastos","create_new_revenue":"Crear nueva cuenta de ingresos","create_new_liabilities":"Crear nuevo pasivo","half_year_budgets":"Presupuestos semestrales","yearly_budgets":"Presupuestos anuales","split_transaction_title":"Descripción de la transacción dividida","errors_submission":"Hubo un problema con su envío. Por favor, compruebe los errores.","flash_error":"¡Error!","store_transaction":"Guardar transacción","flash_success":"¡Operación correcta!","create_another":"Después de guardar, vuelve aquí para crear otro.","update_transaction":"Actualizar transacción","after_update_create_another":"Después de actualizar, vuelve aquí para continuar editando.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") no recibió ningún cambio.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID}</a> (\\"{title}\\") ha sido actualizada.","spent_x_of_y":"{amount} gastado de {total}","search":"Buscar","create_new_asset":"Crear nueva cuenta de activos","asset_accounts":"Cuenta de activos","reset_after":"Restablecer formulario después del envío","bill_paid_on":"Pagado el {date}","first_split_decides":"La primera división determina el valor de este campo","first_split_overrules_source":"La primera división puede anular la cuenta de origen","first_split_overrules_destination":"La primera división puede anular la cuenta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">La transacción #{ID} (\\"{title}\\")</a> ha sido almacenada.","custom_period":"Período personalizado","reset_to_current":"Restablecer al período actual","select_period":"Seleccione un período","location":"Ubicación","other_budgets":"Presupuestos de tiempo personalizado","journal_links":"Enlaces de transacciones","go_to_withdrawals":"Ir a tus retiradas","revenue_accounts":"Cuentas de ingresos","add_another_split":"Añadir otra división","actions":"Acciones","edit":"Editar","delete":"Eliminar","reconcile_this_account":"Reconciliar esta cuenta"},"list":{"piggy_bank":"Alcancilla","percentage":"pct.","amount":"Monto","name":"Nombre","role":"Rol","iban":"IBAN","currentBalance":"Balance actual","next_expected_match":"Próxima coincidencia esperada"},"config":{"html_language":"es"},"form":{"foreign_amount":"Cantidad extranjera","interest_date":"Fecha de interés","book_date":"Fecha de registro","process_date":"Fecha de procesamiento","due_date":"Fecha de vencimiento","payment_date":"Fecha de pago","invoice_date":"Fecha de la factura"}}')},7868: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","transaction_table_description":"A table containing your transactions","account":"Tili","description":"Kuvaus","amount":"Summa","budget":"Budjetti","category":"Kategoria","opposing_account":"Vastatili","budgets":"Budjetit","categories":"Kategoriat","go_to_budgets":"Avaa omat budjetit","income":"Tuotto / ansio","go_to_deposits":"Go to deposits","go_to_categories":"Avaa omat kategoriat","expense_accounts":"Kulutustilit","go_to_expenses":"Go to expenses","go_to_bills":"Avaa omat laskut","bills":"Laskut","last_thirty_days":"Viimeiset 30 päivää","last_seven_days":"Viimeiset 7 päivää","go_to_piggies":"Tarkastele säästöpossujasi","saved":"Saved","piggy_banks":"Säästöpossut","piggy_bank":"Säästöpossu","amounts":"Amounts","left":"Jäljellä","spent":"Käytetty","Default asset account":"Oletusomaisuustili","search_results":"Haun tulokset","include":"Include?","transaction":"Tapahtuma","account_role_defaultAsset":"Oletuskäyttötili","account_role_savingAsset":"Säästötili","account_role_sharedAsset":"Jaettu käyttötili","clear_location":"Tyhjennä sijainti","account_role_ccAsset":"Luottokortti","account_role_cashWalletAsset":"Käteinen","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Luo uusi maksutili","create_new_revenue":"Luo uusi tuottotili","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Jaetun tapahtuman kuvaus","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Virhe!","store_transaction":"Store transaction","flash_success":"Valmista tuli!","create_another":"Tallennuksen jälkeen, palaa takaisin luomaan uusi tapahtuma.","update_transaction":"Päivitä tapahtuma","after_update_create_another":"Päivityksen jälkeen, palaa takaisin jatkamaan muokkausta.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hae","create_new_asset":"Luo uusi omaisuustili","asset_accounts":"Käyttötilit","reset_after":"Tyhjennä lomake lähetyksen jälkeen","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sijainti","other_budgets":"Custom timed budgets","journal_links":"Tapahtuman linkit","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Tuottotilit","add_another_split":"Lisää tapahtumaan uusi osa","actions":"Toiminnot","edit":"Muokkaa","delete":"Poista","reconcile_this_account":"Täsmäytä tämä tili"},"list":{"piggy_bank":"Säästöpossu","percentage":"pros.","amount":"Summa","name":"Nimi","role":"Rooli","iban":"IBAN","currentBalance":"Tämänhetkinen saldo","next_expected_match":"Seuraava lasku odotettavissa"},"config":{"html_language":"fi"},"form":{"foreign_amount":"Ulkomaan summa","interest_date":"Korkopäivä","book_date":"Kirjauspäivä","process_date":"Käsittelypäivä","due_date":"Eräpäivä","payment_date":"Maksupäivä","invoice_date":"Laskun päivämäärä"}}')},2551: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","transaction_table_description":"Une table contenant vos opérations","account":"Compte","description":"Description","amount":"Montant","budget":"Budget","category":"Catégorie","opposing_account":"Compte opposé","budgets":"Budgets","categories":"Catégories","go_to_budgets":"Gérer vos budgets","income":"Recette / revenu","go_to_deposits":"Aller aux dépôts","go_to_categories":"Gérer vos catégories","expense_accounts":"Comptes de dépenses","go_to_expenses":"Aller aux dépenses","go_to_bills":"Gérer vos factures","bills":"Factures","last_thirty_days":"Trente derniers jours","last_seven_days":"7 Derniers Jours","go_to_piggies":"Gérer vos tirelires","saved":"Sauvegardé","piggy_banks":"Tirelires","piggy_bank":"Tirelire","amounts":"Montants","left":"Reste","spent":"Dépensé","Default asset account":"Compte d’actif par défaut","search_results":"Résultats de la recherche","include":"Inclure ?","transaction":"Opération","account_role_defaultAsset":"Compte d\'actif par défaut","account_role_savingAsset":"Compte d’épargne","account_role_sharedAsset":"Compte d\'actif partagé","clear_location":"Effacer la localisation","account_role_ccAsset":"Carte de crédit","account_role_cashWalletAsset":"Porte-monnaie","daily_budgets":"Budgets quotidiens","weekly_budgets":"Budgets hebdomadaires","monthly_budgets":"Budgets mensuels","quarterly_budgets":"Budgets trimestriels","create_new_expense":"Créer nouveau compte de dépenses","create_new_revenue":"Créer nouveau compte de recettes","create_new_liabilities":"Créer un nouveau passif","half_year_budgets":"Budgets semestriels","yearly_budgets":"Budgets annuels","split_transaction_title":"Description de l\'opération ventilée","errors_submission":"Certaines informations ne sont pas correctes dans votre formulaire. Veuillez vérifier les erreurs.","flash_error":"Erreur !","store_transaction":"Enregistrer l\'opération","flash_success":"Super !","create_another":"Après enregistrement, revenir ici pour en créer un nouveau.","update_transaction":"Mettre à jour l\'opération","after_update_create_another":"Après la mise à jour, revenir ici pour continuer l\'édition.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") n\'a pas été modifiée.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID}</a> (\\"{title}\\") a été mise à jour.","spent_x_of_y":"Dépensé {amount} sur {total}","search":"Rechercher","create_new_asset":"Créer un nouveau compte d’actif","asset_accounts":"Comptes d’actif","reset_after":"Réinitialiser le formulaire après soumission","bill_paid_on":"Payé le {date}","first_split_decides":"La première ventilation détermine la valeur de ce champ","first_split_overrules_source":"La première ventilation peut remplacer le compte source","first_split_overrules_destination":"La première ventilation peut remplacer le compte de destination","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">L\'opération n°{ID} (\\"{title}\\")</a> a été enregistrée.","custom_period":"Période personnalisée","reset_to_current":"Réinitialiser à la période en cours","select_period":"Sélectionnez une période","location":"Emplacement","other_budgets":"Budgets à période personnalisée","journal_links":"Liens d\'opération","go_to_withdrawals":"Accéder à vos retraits","revenue_accounts":"Comptes de recettes","add_another_split":"Ajouter une autre fraction","actions":"Actions","edit":"Modifier","delete":"Supprimer","reconcile_this_account":"Rapprocher ce compte"},"list":{"piggy_bank":"Tirelire","percentage":"pct.","amount":"Montant","name":"Nom","role":"Rôle","iban":"Numéro IBAN","currentBalance":"Solde courant","next_expected_match":"Prochaine association attendue"},"config":{"html_language":"fr"},"form":{"foreign_amount":"Montant en devise étrangère","interest_date":"Date de valeur (intérêts)","book_date":"Date de réservation","process_date":"Date de traitement","due_date":"Échéance","payment_date":"Date de paiement","invoice_date":"Date de facturation"}}')},995: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","transaction_table_description":"Tranzakciókat tartalmazó táblázat","account":"Bankszámla","description":"Leírás","amount":"Összeg","budget":"Költségkeret","category":"Kategória","opposing_account":"Ellenoldali számla","budgets":"Költségkeretek","categories":"Kategóriák","go_to_budgets":"Ugrás a költségkeretekhez","income":"Jövedelem / bevétel","go_to_deposits":"Ugrás a bevételekre","go_to_categories":"Ugrás a kategóriákhoz","expense_accounts":"Költségszámlák","go_to_expenses":"Ugrás a kiadásokra","go_to_bills":"Ugrás a számlákhoz","bills":"Számlák","last_thirty_days":"Elmúlt harminc nap","last_seven_days":"Utolsó hét nap","go_to_piggies":"Ugrás a malacperselyekhez","saved":"Mentve","piggy_banks":"Malacperselyek","piggy_bank":"Malacpersely","amounts":"Mennyiségek","left":"Maradvány","spent":"Elköltött","Default asset account":"Alapértelmezett eszközszámla","search_results":"Keresési eredmények","include":"Include?","transaction":"Tranzakció","account_role_defaultAsset":"Alapértelmezett eszközszámla","account_role_savingAsset":"Megtakarítási számla","account_role_sharedAsset":"Megosztott eszközszámla","clear_location":"Hely törlése","account_role_ccAsset":"Hitelkártya","account_role_cashWalletAsset":"Készpénz","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Új költségszámla létrehozása","create_new_revenue":"Új jövedelemszámla létrehozása","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Felosztott tranzakció leírása","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Hiba!","store_transaction":"Store transaction","flash_success":"Siker!","create_another":"A tárolás után térjen vissza ide új létrehozásához.","update_transaction":"Tranzakció frissítése","after_update_create_another":"A frissítés után térjen vissza ide a szerkesztés folytatásához.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Keresés","create_new_asset":"Új eszközszámla létrehozása","asset_accounts":"Eszközszámlák","reset_after":"Űrlap törlése a beküldés után","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> mentve.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Hely","other_budgets":"Custom timed budgets","journal_links":"Tranzakció összekapcsolások","go_to_withdrawals":"Ugrás a költségekhez","revenue_accounts":"Jövedelemszámlák","add_another_split":"Másik felosztás hozzáadása","actions":"Műveletek","edit":"Szerkesztés","delete":"Törlés","reconcile_this_account":"Számla egyeztetése"},"list":{"piggy_bank":"Malacpersely","percentage":"%","amount":"Összeg","name":"Név","role":"Szerepkör","iban":"IBAN","currentBalance":"Aktuális egyenleg","next_expected_match":"Következő várható egyezés"},"config":{"html_language":"hu"},"form":{"foreign_amount":"Külföldi összeg","interest_date":"Kamatfizetési időpont","book_date":"Könyvelés dátuma","process_date":"Feldolgozás dátuma","due_date":"Lejárati időpont","payment_date":"Fizetés dátuma","invoice_date":"Számla dátuma"}}')},9112: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à","transaction_table_description":"Una tabella contenente le tue transazioni","account":"Conto","description":"Descrizione","amount":"Importo","budget":"Budget","category":"Categoria","opposing_account":"Conto beneficiario","budgets":"Budget","categories":"Categorie","go_to_budgets":"Vai ai tuoi budget","income":"Redditi / entrate","go_to_deposits":"Vai ai depositi","go_to_categories":"Vai alle tue categorie","expense_accounts":"Conti uscite","go_to_expenses":"Vai alle spese","go_to_bills":"Vai alle tue bollette","bills":"Bollette","last_thirty_days":"Ultimi trenta giorni","last_seven_days":"Ultimi sette giorni","go_to_piggies":"Vai ai tuoi salvadanai","saved":"Salvata","piggy_banks":"Salvadanai","piggy_bank":"Salvadanaio","amounts":"Importi","left":"Resto","spent":"Speso","Default asset account":"Conto attività predefinito","search_results":"Risultati ricerca","include":"Includere?","transaction":"Transazione","account_role_defaultAsset":"Conto attività predefinito","account_role_savingAsset":"Conto risparmio","account_role_sharedAsset":"Conto attività condiviso","clear_location":"Rimuovi dalla posizione","account_role_ccAsset":"Carta di credito","account_role_cashWalletAsset":"Portafoglio","daily_budgets":"Budget giornalieri","weekly_budgets":"Budget settimanali","monthly_budgets":"Budget mensili","quarterly_budgets":"Bilanci trimestrali","create_new_expense":"Crea un nuovo conto di spesa","create_new_revenue":"Crea un nuovo conto entrate","create_new_liabilities":"Crea nuova passività","half_year_budgets":"Bilanci semestrali","yearly_budgets":"Budget annuali","split_transaction_title":"Descrizione della transazione suddivisa","errors_submission":"Errore durante l\'invio. Controlla gli errori segnalati qui sotto.","flash_error":"Errore!","store_transaction":"Salva transazione","flash_success":"Successo!","create_another":"Dopo il salvataggio, torna qui per crearne un\'altra.","update_transaction":"Aggiorna transazione","after_update_create_another":"Dopo l\'aggiornamento, torna qui per continuare la modifica.","transaction_updated_no_changes":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") non ha avuto cambiamenti.","transaction_updated_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID}</a> (\\"{title}\\") è stata aggiornata.","spent_x_of_y":"Spesi {amount} di {total}","search":"Cerca","create_new_asset":"Crea un nuovo conto attività","asset_accounts":"Conti attività","reset_after":"Resetta il modulo dopo l\'invio","bill_paid_on":"Pagata il {date}","first_split_decides":"La prima suddivisione determina il valore di questo campo","first_split_overrules_source":"La prima suddivisione potrebbe sovrascrivere l\'account di origine","first_split_overrules_destination":"La prima suddivisione potrebbe sovrascrivere l\'account di destinazione","transaction_stored_link":"La <a href=\\"transactions/show/{ID}\\">transazione #{ID} (\\"{title}\\")</a> è stata salvata.","custom_period":"Periodo personalizzato","reset_to_current":"Ripristina il periodo corrente","select_period":"Seleziona il periodo","location":"Posizione","other_budgets":"Budget a periodi personalizzati","journal_links":"Collegamenti della transazione","go_to_withdrawals":"Vai ai tuoi prelievi","revenue_accounts":"Conti entrate","add_another_split":"Aggiungi un\'altra divisione","actions":"Azioni","edit":"Modifica","delete":"Elimina","reconcile_this_account":"Riconcilia questo conto"},"list":{"piggy_bank":"Salvadanaio","percentage":"perc.","amount":"Importo","name":"Nome","role":"Ruolo","iban":"IBAN","currentBalance":"Saldo corrente","next_expected_match":"Prossimo abbinamento previsto"},"config":{"html_language":"it"},"form":{"foreign_amount":"Importo estero","interest_date":"Data di valuta","book_date":"Data contabile","process_date":"Data elaborazione","due_date":"Data scadenza","payment_date":"Data pagamento","invoice_date":"Data fatturazione"}}')},9085: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","transaction_table_description":"A table containing your transactions","account":"Konto","description":"Beskrivelse","amount":"Beløp","budget":"Busjett","category":"Kategori","opposing_account":"Opposing account","budgets":"Budsjetter","categories":"Kategorier","go_to_budgets":"Gå til budsjettene dine","income":"Inntekt","go_to_deposits":"Go to deposits","go_to_categories":"Gå til kategoriene dine","expense_accounts":"Utgiftskontoer","go_to_expenses":"Go to expenses","go_to_bills":"Gå til regningene dine","bills":"Regninger","last_thirty_days":"Tredve siste dager","last_seven_days":"Syv siste dager","go_to_piggies":"Gå til sparegrisene dine","saved":"Saved","piggy_banks":"Sparegriser","piggy_bank":"Sparegris","amounts":"Amounts","left":"Gjenværende","spent":"Brukt","Default asset account":"Standard aktivakonto","search_results":"Søkeresultater","include":"Include?","transaction":"Transaksjon","account_role_defaultAsset":"Standard aktivakonto","account_role_savingAsset":"Sparekonto","account_role_sharedAsset":"Delt aktivakonto","clear_location":"Tøm lokasjon","account_role_ccAsset":"Kredittkort","account_role_cashWalletAsset":"Kontant lommebok","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Opprett ny utgiftskonto","create_new_revenue":"Opprett ny inntektskonto","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Description of the split transaction","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Feil!","store_transaction":"Store transaction","flash_success":"Suksess!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Søk","create_new_asset":"Opprett ny aktivakonto","asset_accounts":"Aktivakontoer","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Sted","other_budgets":"Custom timed budgets","journal_links":"Transaksjonskoblinger","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Inntektskontoer","add_another_split":"Legg til en oppdeling til","actions":"Handlinger","edit":"Rediger","delete":"Slett","reconcile_this_account":"Avstem denne kontoen"},"list":{"piggy_bank":"Sparegris","percentage":"pct.","amount":"Beløp","name":"Navn","role":"Rolle","iban":"IBAN","currentBalance":"Nåværende saldo","next_expected_match":"Neste forventede treff"},"config":{"html_language":"nb"},"form":{"foreign_amount":"Utenlandske beløp","interest_date":"Rentedato","book_date":"Bokføringsdato","process_date":"Prosesseringsdato","due_date":"Forfallsdato","payment_date":"Betalingsdato","invoice_date":"Fakturadato"}}')},4671: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","transaction_table_description":"Een tabel met je transacties","account":"Rekening","description":"Omschrijving","amount":"Bedrag","budget":"Budget","category":"Categorie","opposing_account":"Tegenrekening","budgets":"Budgetten","categories":"Categorieën","go_to_budgets":"Ga naar je budgetten","income":"Inkomsten","go_to_deposits":"Ga naar je inkomsten","go_to_categories":"Ga naar je categorieën","expense_accounts":"Crediteuren","go_to_expenses":"Ga naar je uitgaven","go_to_bills":"Ga naar je contracten","bills":"Contracten","last_thirty_days":"Laatste dertig dagen","last_seven_days":"Laatste zeven dagen","go_to_piggies":"Ga naar je spaarpotjes","saved":"Opgeslagen","piggy_banks":"Spaarpotjes","piggy_bank":"Spaarpotje","amounts":"Bedragen","left":"Over","spent":"Uitgegeven","Default asset account":"Standaard betaalrekening","search_results":"Zoekresultaten","include":"Opnemen?","transaction":"Transactie","account_role_defaultAsset":"Standaard betaalrekening","account_role_savingAsset":"Spaarrekening","account_role_sharedAsset":"Gedeelde betaalrekening","clear_location":"Wis locatie","account_role_ccAsset":"Credit card","account_role_cashWalletAsset":"Cash","daily_budgets":"Dagelijkse budgetten","weekly_budgets":"Wekelijkse budgetten","monthly_budgets":"Maandelijkse budgetten","quarterly_budgets":"Driemaandelijkse budgetten","create_new_expense":"Nieuwe crediteur","create_new_revenue":"Nieuwe debiteur","create_new_liabilities":"Maak nieuwe passiva","half_year_budgets":"Halfjaarlijkse budgetten","yearly_budgets":"Jaarlijkse budgetten","split_transaction_title":"Beschrijving van de gesplitste transactie","errors_submission":"Er ging iets mis. Check de errors.","flash_error":"Fout!","store_transaction":"Transactie opslaan","flash_success":"Gelukt!","create_another":"Terug naar deze pagina voor een nieuwe transactie.","update_transaction":"Update transactie","after_update_create_another":"Na het opslaan terug om door te gaan met wijzigen.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is niet gewijzigd.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID}</a> (\\"{title}\\") is geüpdatet.","spent_x_of_y":"{amount} van {total} uitgegeven","search":"Zoeken","create_new_asset":"Nieuwe betaalrekening","asset_accounts":"Betaalrekeningen","reset_after":"Reset formulier na opslaan","bill_paid_on":"Betaald op {date}","first_split_decides":"De eerste split bepaalt wat hier staat","first_split_overrules_source":"De eerste split kan de bronrekening overschrijven","first_split_overrules_destination":"De eerste split kan de doelrekening overschrijven","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transactie #{ID} (\\"{title}\\")</a> is opgeslagen.","custom_period":"Aangepaste periode","reset_to_current":"Reset naar huidige periode","select_period":"Selecteer een periode","location":"Plaats","other_budgets":"Aangepaste budgetten","journal_links":"Transactiekoppelingen","go_to_withdrawals":"Ga naar je uitgaven","revenue_accounts":"Debiteuren","add_another_split":"Voeg een split toe","actions":"Acties","edit":"Wijzig","delete":"Verwijder","reconcile_this_account":"Stem deze rekening af"},"list":{"piggy_bank":"Spaarpotje","percentage":"pct","amount":"Bedrag","name":"Naam","role":"Rol","iban":"IBAN","currentBalance":"Huidig saldo","next_expected_match":"Volgende verwachte match"},"config":{"html_language":"nl"},"form":{"foreign_amount":"Bedrag in vreemde valuta","interest_date":"Rentedatum","book_date":"Boekdatum","process_date":"Verwerkingsdatum","due_date":"Vervaldatum","payment_date":"Betalingsdatum","invoice_date":"Factuurdatum"}}')},6238: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","transaction_table_description":"Tabela zawierająca Twoje transakcje","account":"Konto","description":"Opis","amount":"Kwota","budget":"Budżet","category":"Kategoria","opposing_account":"Konto przeciwstawne","budgets":"Budżety","categories":"Kategorie","go_to_budgets":"Przejdź do swoich budżetów","income":"Przychody / dochody","go_to_deposits":"Przejdź do wpłat","go_to_categories":"Przejdź do swoich kategorii","expense_accounts":"Konta wydatków","go_to_expenses":"Przejdź do wydatków","go_to_bills":"Przejdź do swoich rachunków","bills":"Rachunki","last_thirty_days":"Ostanie 30 dni","last_seven_days":"Ostatnie 7 dni","go_to_piggies":"Przejdź do swoich skarbonek","saved":"Zapisano","piggy_banks":"Skarbonki","piggy_bank":"Skarbonka","amounts":"Kwoty","left":"Pozostało","spent":"Wydano","Default asset account":"Domyślne konto aktywów","search_results":"Wyniki wyszukiwania","include":"Include?","transaction":"Transakcja","account_role_defaultAsset":"Domyślne konto aktywów","account_role_savingAsset":"Konto oszczędnościowe","account_role_sharedAsset":"Współdzielone konto aktywów","clear_location":"Wyczyść lokalizację","account_role_ccAsset":"Karta kredytowa","account_role_cashWalletAsset":"Portfel gotówkowy","daily_budgets":"Budżety dzienne","weekly_budgets":"Budżety tygodniowe","monthly_budgets":"Budżety miesięczne","quarterly_budgets":"Budżety kwartalne","create_new_expense":"Utwórz nowe konto wydatków","create_new_revenue":"Utwórz nowe konto przychodów","create_new_liabilities":"Utwórz nowe zobowiązanie","half_year_budgets":"Budżety półroczne","yearly_budgets":"Budżety roczne","split_transaction_title":"Opis podzielonej transakcji","errors_submission":"Coś poszło nie tak w czasie zapisu. Proszę sprawdź błędy.","flash_error":"Błąd!","store_transaction":"Zapisz transakcję","flash_success":"Sukces!","create_another":"Po zapisaniu wróć tutaj, aby utworzyć kolejny.","update_transaction":"Zaktualizuj transakcję","after_update_create_another":"Po aktualizacji wróć tutaj, aby kontynuować edycję.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") nie została zmieniona.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID}</a> (\\"{title}\\") została zaktualizowana.","spent_x_of_y":"Wydano {amount} z {total}","search":"Szukaj","create_new_asset":"Utwórz nowe konto aktywów","asset_accounts":"Konta aktywów","reset_after":"Wyczyść formularz po zapisaniu","bill_paid_on":"Zapłacone {date}","first_split_decides":"Pierwszy podział określa wartość tego pola","first_split_overrules_source":"Pierwszy podział może nadpisać konto źródłowe","first_split_overrules_destination":"Pierwszy podział może nadpisać konto docelowe","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcja #{ID} (\\"{title}\\")</a> została zapisana.","custom_period":"Okres niestandardowy","reset_to_current":"Przywróć do bieżącego okresu","select_period":"Wybierz okres","location":"Lokalizacja","other_budgets":"Budżety niestandardowe","journal_links":"Powiązane transakcje","go_to_withdrawals":"Przejdź do swoich wydatków","revenue_accounts":"Konta przychodów","add_another_split":"Dodaj kolejny podział","actions":"Akcje","edit":"Modyfikuj","delete":"Usuń","reconcile_this_account":"Uzgodnij to konto"},"list":{"piggy_bank":"Skarbonka","percentage":"%","amount":"Kwota","name":"Nazwa","role":"Rola","iban":"IBAN","currentBalance":"Bieżące saldo","next_expected_match":"Następne oczekiwane dopasowanie"},"config":{"html_language":"pl"},"form":{"foreign_amount":"Kwota zagraniczna","interest_date":"Data odsetek","book_date":"Data księgowania","process_date":"Data przetworzenia","due_date":"Termin realizacji","payment_date":"Data płatności","invoice_date":"Data faktury"}}')},6586: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","transaction_table_description":"Uma tabela contendo suas transações","account":"Conta","description":"Descrição","amount":"Valor","budget":"Orçamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Vá para seus orçamentos","income":"Receita / Renda","go_to_deposits":"Ir para as entradas","go_to_categories":"Vá para suas categorias","expense_accounts":"Contas de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Vá para suas contas","bills":"Faturas","last_thirty_days":"Últimos 30 dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Vá para sua poupança","saved":"Salvo","piggy_banks":"Cofrinhos","piggy_bank":"Cofrinho","amounts":"Quantias","left":"Restante","spent":"Gasto","Default asset account":"Conta padrão","search_results":"Resultados da pesquisa","include":"Incluir?","transaction":"Transação","account_role_defaultAsset":"Conta padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Contas de ativos compartilhadas","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de crédito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamentos diários","weekly_budgets":"Orçamentos semanais","monthly_budgets":"Orçamentos mensais","quarterly_budgets":"Orçamentos trimestrais","create_new_expense":"Criar nova conta de despesa","create_new_revenue":"Criar nova conta de receita","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamentos semestrais","yearly_budgets":"Orçamentos anuais","split_transaction_title":"Descrição da transação dividida","errors_submission":"Há algo de errado com o seu envio. Por favor, verifique os erros abaixo.","flash_error":"Erro!","store_transaction":"Salvar transação","flash_success":"Sucesso!","create_another":"Depois de armazenar, retorne aqui para criar outro.","update_transaction":"Atualizar transação","after_update_create_another":"Depois de atualizar, retorne aqui para continuar editando.","transaction_updated_no_changes":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"A <a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Pesquisa","create_new_asset":"Criar nova conta de ativo","asset_accounts":"Contas de ativo","reset_after":"Resetar o formulário após o envio","bill_paid_on":"Pago em {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi salva.","custom_period":"Período personalizado","reset_to_current":"Redefinir para o período atual","select_period":"Selecione um período","location":"Localização","other_budgets":"Orçamentos de períodos personalizados","journal_links":"Transações ligadas","go_to_withdrawals":"Vá para seus saques","revenue_accounts":"Contas de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Editar","delete":"Apagar","reconcile_this_account":"Concilie esta conta"},"list":{"piggy_bank":"Cofrinho","percentage":"pct.","amount":"Total","name":"Nome","role":"Papel","iban":"IBAN","currentBalance":"Saldo atual","next_expected_match":"Próximo correspondente esperado"},"config":{"html_language":"pt-br"},"form":{"foreign_amount":"Montante em moeda estrangeira","interest_date":"Data de interesse","book_date":"Data reserva","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da Fatura"}}')},8664: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","transaction_table_description":"Uma tabela com as suas transacções","account":"Conta","description":"Descricao","amount":"Montante","budget":"Orcamento","category":"Categoria","opposing_account":"Conta oposta","budgets":"Orçamentos","categories":"Categorias","go_to_budgets":"Ir para os seus orçamentos","income":"Receita / renda","go_to_deposits":"Ir para depósitos","go_to_categories":"Ir para categorias","expense_accounts":"Conta de despesas","go_to_expenses":"Ir para despesas","go_to_bills":"Ir para contas","bills":"Contas","last_thirty_days":"Últimos trinta dias","last_seven_days":"Últimos sete dias","go_to_piggies":"Ir para mealheiros","saved":"Guardado","piggy_banks":"Mealheiros","piggy_bank":"Mealheiro","amounts":"Montantes","left":"Em falta","spent":"Gasto","Default asset account":"Conta de activos padrão","search_results":"Resultados da pesquisa","include":"Include?","transaction":"Transacção","account_role_defaultAsset":"Conta de activos padrão","account_role_savingAsset":"Conta poupança","account_role_sharedAsset":"Conta de activos partilhados","clear_location":"Limpar localização","account_role_ccAsset":"Cartão de credito","account_role_cashWalletAsset":"Carteira de dinheiro","daily_budgets":"Orçamento diário","weekly_budgets":"Orçamento semanal","monthly_budgets":"Orçamento mensal","quarterly_budgets":"Orçamento trimestral","create_new_expense":"Criar nova conta de despesas","create_new_revenue":"Criar nova conta de receitas","create_new_liabilities":"Criar novo passivo","half_year_budgets":"Orçamento semestral","yearly_budgets":"Orçamento anual","split_transaction_title":"Descrição da transacção dividida","errors_submission":"Aconteceu algo errado com a sua submissão. Por favor, verifique os erros.","flash_error":"Erro!","store_transaction":"Guardar transação","flash_success":"Sucesso!","create_another":"Depois de guardar, voltar aqui para criar outra.","update_transaction":"Actualizar transacção","after_update_create_another":"Após a atualização, regresse aqui para continuar a editar.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") não recebeu nenhuma alteração.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID}</a> (\\"{title}\\") foi atualizada.","spent_x_of_y":"Gasto {amount} de {total}","search":"Procurar","create_new_asset":"Criar nova conta de activos","asset_accounts":"Conta de activos","reset_after":"Repor o formulário após o envio","bill_paid_on":"Pago a {date}","first_split_decides":"A primeira divisão determina o valor deste campo","first_split_overrules_source":"A primeira divisão pode anular a conta de origem","first_split_overrules_destination":"A primeira divisão pode anular a conta de destino","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transação #{ID} (\\"{title}\\")</a> foi guardada.","custom_period":"Período personalizado","reset_to_current":"Reiniciar o período personalizado","select_period":"Selecionar um período","location":"Localização","other_budgets":"Orçamentos de tempo personalizado","journal_links":"Ligações de transacção","go_to_withdrawals":"Ir para os seus levantamentos","revenue_accounts":"Conta de receitas","add_another_split":"Adicionar outra divisão","actions":"Ações","edit":"Alterar","delete":"Apagar","reconcile_this_account":"Reconciliar esta conta"},"list":{"piggy_bank":"Mealheiro","percentage":"%.","amount":"Montante","name":"Nome","role":"Regra","iban":"IBAN","currentBalance":"Saldo actual","next_expected_match":"Proxima correspondencia esperada"},"config":{"html_language":"pt"},"form":{"foreign_amount":"Montante estrangeiro","interest_date":"Data de juros","book_date":"Data de registo","process_date":"Data de processamento","due_date":"Data de vencimento","payment_date":"Data de pagamento","invoice_date":"Data da factura"}}')},1102: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","transaction_table_description":"A table containing your transactions","account":"Cont","description":"Descriere","amount":"Sumă","budget":"Buget","category":"Categorie","opposing_account":"Opposing account","budgets":"Buget","categories":"Categorii","go_to_budgets":"Mergi la bugete","income":"Venituri","go_to_deposits":"Go to deposits","go_to_categories":"Mergi la categorii","expense_accounts":"Conturi de cheltuieli","go_to_expenses":"Go to expenses","go_to_bills":"Mergi la facturi","bills":"Facturi","last_thirty_days":"Ultimele 30 de zile","last_seven_days":"Ultimele 7 zile","go_to_piggies":"Mergi la pușculiță","saved":"Salvat","piggy_banks":"Pușculiță","piggy_bank":"Pușculiță","amounts":"Amounts","left":"Rămas","spent":"Cheltuit","Default asset account":"Cont de active implicit","search_results":"Rezultatele căutarii","include":"Include?","transaction":"Tranzacţie","account_role_defaultAsset":"Contul implicit activ","account_role_savingAsset":"Cont de economii","account_role_sharedAsset":"Contul de active partajat","clear_location":"Ștergeți locația","account_role_ccAsset":"Card de credit","account_role_cashWalletAsset":"Cash - Numerar","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Creați un nou cont de cheltuieli","create_new_revenue":"Creați un nou cont de venituri","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Descrierea tranzacției divizate","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Eroare!","store_transaction":"Store transaction","flash_success":"Succes!","create_another":"După stocare, reveniți aici pentru a crea alta.","update_transaction":"Actualizați tranzacția","after_update_create_another":"După actualizare, reveniți aici pentru a continua editarea.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Caută","create_new_asset":"Creați un nou cont de active","asset_accounts":"Conturile de active","reset_after":"Resetați formularul după trimitere","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Tranzacția #{ID} (\\"{title}\\")</a> a fost stocată.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Locație","other_budgets":"Custom timed budgets","journal_links":"Link-uri de tranzacții","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"Conturi de venituri","add_another_split":"Adăugați o divizare","actions":"Acțiuni","edit":"Editează","delete":"Șterge","reconcile_this_account":"Reconciliați acest cont"},"list":{"piggy_bank":"Pușculiță","percentage":"procent %","amount":"Sumă","name":"Nume","role":"Rol","iban":"IBAN","currentBalance":"Sold curent","next_expected_match":"Următoarea potrivire așteptată"},"config":{"html_language":"ro"},"form":{"foreign_amount":"Sumă străină","interest_date":"Data de interes","book_date":"Rezervă dată","process_date":"Data procesării","due_date":"Data scadentă","payment_date":"Data de plată","invoice_date":"Data facturii"}}')},753: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":"Просмотр ваших основных счетов","transaction_table_description":"Таблица, содержащая ваши транзакции","account":"Счёт","description":"Описание","amount":"Сумма","budget":"Бюджет","category":"Категория","opposing_account":"Противодействующий счёт","budgets":"Бюджет","categories":"Категории","go_to_budgets":"Перейти к вашим бюджетам","income":"Мои доходы","go_to_deposits":"Перейти ко вкладам","go_to_categories":"Перейти к вашим категориям","expense_accounts":"Счета расходов","go_to_expenses":"Перейти к расходам","go_to_bills":"Перейти к вашим счетам на оплату","bills":"Счета к оплате","last_thirty_days":"Последние 30 дней","last_seven_days":"Последние 7 дней","go_to_piggies":"Перейти к вашим копилкам","saved":"Сохранено","piggy_banks":"Копилки","piggy_bank":"Копилка","amounts":"Сумма","left":"Осталось","spent":"Расход","Default asset account":"Счёт по умолчанию","search_results":"Результаты поиска","include":"Include?","transaction":"Транзакция","account_role_defaultAsset":"Счёт по умолчанию","account_role_savingAsset":"Сберегательный счет","account_role_sharedAsset":"Общий основной счёт","clear_location":"Очистить местоположение","account_role_ccAsset":"Кредитная карта","account_role_cashWalletAsset":"Наличные","daily_budgets":"Бюджеты на день","weekly_budgets":"Бюджеты на неделю","monthly_budgets":"Бюджеты на месяц","quarterly_budgets":"Бюджеты на квартал","create_new_expense":"Создать новый счёт расхода","create_new_revenue":"Создать новый счёт дохода","create_new_liabilities":"Create new liability","half_year_budgets":"Бюджеты на полгода","yearly_budgets":"Годовые бюджеты","split_transaction_title":"Описание разделённой транзакции","errors_submission":"При отправке что-то пошло не так. Пожалуйста, проверьте ошибки ниже.","flash_error":"Ошибка!","store_transaction":"Сохранить транзакцию","flash_success":"Успешно!","create_another":"После сохранения вернуться сюда и создать ещё одну аналогичную запись.","update_transaction":"Обновить транзакцию","after_update_create_another":"После обновления вернитесь сюда, чтобы продолжить редактирование.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Поиск","create_new_asset":"Создать новый активный счёт","asset_accounts":"Основные счета","reset_after":"Сбросить форму после отправки","bill_paid_on":"Оплачено {date}","first_split_decides":"В данном поле используется значение из первой части разделенной транзакции","first_split_overrules_source":"Значение из первой части транзакции может изменить счет источника","first_split_overrules_destination":"Значение из первой части транзакции может изменить счет назначения","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Транзакция #{ID} (\\"{title}\\")</a> сохранена.","custom_period":"Пользовательский период","reset_to_current":"Сброс к текущему периоду","select_period":"Выберите период","location":"Размещение","other_budgets":"Бюджеты на произвольный отрезок времени","journal_links":"Связи транзакции","go_to_withdrawals":"Перейти к вашим расходам","revenue_accounts":"Счета доходов","add_another_split":"Добавить еще одну часть","actions":"Действия","edit":"Изменить","delete":"Удалить","reconcile_this_account":"Произвести сверку данного счёта"},"list":{"piggy_bank":"Копилка","percentage":"процентов","amount":"Сумма","name":"Имя","role":"Роль","iban":"IBAN","currentBalance":"Текущий баланс","next_expected_match":"Следующий ожидаемый результат"},"config":{"html_language":"ru"},"form":{"foreign_amount":"Сумма в иностранной валюте","interest_date":"Дата начисления процентов","book_date":"Дата бронирования","process_date":"Дата обработки","due_date":"Срок оплаты","payment_date":"Дата платежа","invoice_date":"Дата выставления счёта"}}')},7049: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","transaction_table_description":"Tabuľka obsahujúca vaše transakcie","account":"Účet","description":"Popis","amount":"Suma","budget":"Rozpočet","category":"Kategória","opposing_account":"Cieľový účet","budgets":"Rozpočty","categories":"Kategórie","go_to_budgets":"Zobraziť rozpočty","income":"Zisky / príjmy","go_to_deposits":"Zobraziť vklady","go_to_categories":"Zobraziť kategórie","expense_accounts":"Výdavkové účty","go_to_expenses":"Zobraziť výdavky","go_to_bills":"Zobraziť účty","bills":"Účty","last_thirty_days":"Uplynulých 30 dní","last_seven_days":"Uplynulých 7 dní","go_to_piggies":"Zobraziť pokladničky","saved":"Uložené","piggy_banks":"Pokladničky","piggy_bank":"Pokladnička","amounts":"Suma","left":"Zostáva","spent":"Utratené","Default asset account":"Prednastavený účet aktív","search_results":"Výsledky vyhľadávania","include":"Include?","transaction":"Transakcia","account_role_defaultAsset":"Predvolený účet aktív","account_role_savingAsset":"Šetriaci účet","account_role_sharedAsset":"Zdieľaný účet aktív","clear_location":"Odstrániť pozíciu","account_role_ccAsset":"Kreditná karta","account_role_cashWalletAsset":"Peňaženka","daily_budgets":"Denné rozpočty","weekly_budgets":"Týždenné rozpočty","monthly_budgets":"Mesačné rozpočty","quarterly_budgets":"Štvrťročné rozpočty","create_new_expense":"Vytvoriť výdavkoý účet","create_new_revenue":"Vytvoriť nový príjmový účet","create_new_liabilities":"Create new liability","half_year_budgets":"Polročné rozpočty","yearly_budgets":"Ročné rozpočty","split_transaction_title":"Popis rozúčtovania","errors_submission":"Pri odosielaní sa niečo nepodarilo. Skontrolujte prosím chyby.","flash_error":"Chyba!","store_transaction":"Uložiť transakciu","flash_success":"Hotovo!","create_another":"Po uložení sa vrátiť späť sem a vytvoriť ďalší.","update_transaction":"Upraviť transakciu","after_update_create_another":"Po aktualizácii sa vrátiť späť a pokračovať v úpravách.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Hľadať","create_new_asset":"Vytvoriť nový účet aktív","asset_accounts":"Účty aktív","reset_after":"Po odoslaní vynulovať formulár","bill_paid_on":"Uhradené {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transakcia #{ID} (\\"{title}\\")</a> bola uložená.","custom_period":"Vlastné obdobie","reset_to_current":"Obnoviť na aktuálne obdobie","select_period":"Vyberte obdobie","location":"Poloha","other_budgets":"Špecifické časované rozpočty","journal_links":"Prepojenia transakcie","go_to_withdrawals":"Zobraziť výbery","revenue_accounts":"Výnosové účty","add_another_split":"Pridať ďalšie rozúčtovanie","actions":"Akcie","edit":"Upraviť","delete":"Odstrániť","reconcile_this_account":"Vyúčtovat tento účet"},"list":{"piggy_bank":"Pokladnička","percentage":"perc.","amount":"Suma","name":"Meno/Názov","role":"Rola","iban":"IBAN","currentBalance":"Aktuálny zostatok","next_expected_match":"Ďalšia očakávaná zhoda"},"config":{"html_language":"sk"},"form":{"foreign_amount":"Suma v cudzej mene","interest_date":"Úrokový dátum","book_date":"Dátum rezervácie","process_date":"Dátum spracovania","due_date":"Dátum splatnosti","payment_date":"Dátum úhrady","invoice_date":"Dátum vystavenia"}}')},7921: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","transaction_table_description":"En tabell som innehåller dina transaktioner","account":"Konto","description":"Beskrivning","amount":"Belopp","budget":"Budget","category":"Kategori","opposing_account":"Motsatt konto","budgets":"Budgetar","categories":"Kategorier","go_to_budgets":"Gå till dina budgetar","income":"Intäkter / inkomster","go_to_deposits":"Gå till insättningar","go_to_categories":"Gå till dina kategorier","expense_accounts":"Kostnadskonto","go_to_expenses":"Gå till utgifter","go_to_bills":"Gå till dina notor","bills":"Notor","last_thirty_days":"Senaste 30 dagarna","last_seven_days":"Senaste 7 dagarna","go_to_piggies":"Gå till dina sparbössor","saved":"Sparad","piggy_banks":"Spargrisar","piggy_bank":"Spargris","amounts":"Belopp","left":"Återstår","spent":"Spenderat","Default asset account":"Förvalt tillgångskonto","search_results":"Sökresultat","include":"Include?","transaction":"Transaktion","account_role_defaultAsset":"Förvalt tillgångskonto","account_role_savingAsset":"Sparkonto","account_role_sharedAsset":"Delat tillgångskonto","clear_location":"Rena plats","account_role_ccAsset":"Kreditkort","account_role_cashWalletAsset":"Plånbok","daily_budgets":"Dagliga budgetar","weekly_budgets":"Veckovis budgetar","monthly_budgets":"Månatliga budgetar","quarterly_budgets":"Kvartalsbudgetar","create_new_expense":"Skapa ett nytt utgiftskonto","create_new_revenue":"Skapa ett nytt intäktskonto","create_new_liabilities":"Skapa ny skuld","half_year_budgets":"Halvårsbudgetar","yearly_budgets":"Årliga budgetar","split_transaction_title":"Beskrivning av delad transaktion","errors_submission":"Något fel uppstod med inskickningen. Vänligen kontrollera felen nedan.","flash_error":"Fel!","store_transaction":"Lagra transaktion","flash_success":"Slutförd!","create_another":"Efter sparat, återkom hit för att skapa ytterligare en.","update_transaction":"Uppdatera transaktion","after_update_create_another":"Efter uppdaterat, återkom hit för att fortsätta redigera.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") fick inga ändringar.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID}</a> (\\"{title}\\") uppdaterades.","spent_x_of_y":"Spenderade {amount} av {total}","search":"Sök","create_new_asset":"Skapa ett nytt tillgångskonto","asset_accounts":"Tillgångskonton","reset_after":"Återställ formulär efter inskickat","bill_paid_on":"Betalad den {date}","first_split_decides":"Första delningen bestämmer värdet på detta fält","first_split_overrules_source":"Den första delningen kan åsidosätta källkontot","first_split_overrules_destination":"Den första delningen kan åsidosätta målkontot","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaktion #{ID} (\\"{title}\\")</a> sparades.","custom_period":"Anpassad period","reset_to_current":"Återställ till nuvarande period","select_period":"Välj en period","location":"Plats","other_budgets":"Anpassade tidsinställda budgetar","journal_links":"Transaktionslänkar","go_to_withdrawals":"Gå till dina uttag","revenue_accounts":"Intäktskonton","add_another_split":"Lägga till en annan delning","actions":"Åtgärder","edit":"Redigera","delete":"Ta bort","reconcile_this_account":"Stäm av detta konto"},"list":{"piggy_bank":"Spargris","percentage":"procent","amount":"Belopp","name":"Namn","role":"Roll","iban":"IBAN","currentBalance":"Nuvarande saldo","next_expected_match":"Nästa förväntade träff"},"config":{"html_language":"sv"},"form":{"foreign_amount":"Utländskt belopp","interest_date":"Räntedatum","book_date":"Bokföringsdatum","process_date":"Behandlingsdatum","due_date":"Förfallodatum","payment_date":"Betalningsdatum","invoice_date":"Fakturadatum"}}')},1497: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","transaction_table_description":"A table containing your transactions","account":"Tài khoản","description":"Sự miêu tả","amount":"Số tiền","budget":"Ngân sách","category":"Danh mục","opposing_account":"Opposing account","budgets":"Ngân sách","categories":"Danh mục","go_to_budgets":"Chuyển đến ngân sách của bạn","income":"Thu nhập doanh thu","go_to_deposits":"Go to deposits","go_to_categories":"Đi đến danh mục của bạn","expense_accounts":"Tài khoản chi phí","go_to_expenses":"Go to expenses","go_to_bills":"Đi đến hóa đơn của bạn","bills":"Hóa đơn","last_thirty_days":"Ba mươi ngày gần đây","last_seven_days":"Bảy ngày gần đây","go_to_piggies":"Tới heo đất của bạn","saved":"Đã lưu","piggy_banks":"Heo đất","piggy_bank":"Heo đất","amounts":"Amounts","left":"Còn lại","spent":"Đã chi","Default asset account":"Mặc định tài khoản","search_results":"Kết quả tìm kiếm","include":"Include?","transaction":"Giao dịch","account_role_defaultAsset":"tài khoản mặc định","account_role_savingAsset":"Tài khoản tiết kiệm","account_role_sharedAsset":"tài khoản dùng chung","clear_location":"Xóa vị trí","account_role_ccAsset":"Thẻ tín dụng","account_role_cashWalletAsset":"Ví tiền mặt","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"Tạo tài khoản chi phí mới","create_new_revenue":"Tạo tài khoản doanh thu mới","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"Mô tả giao dịch tách","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"Lỗi!","store_transaction":"Store transaction","flash_success":"Thành công!","create_another":"Sau khi lưu trữ, quay trở lại đây để tạo một cái khác.","update_transaction":"Cập nhật giao dịch","after_update_create_another":"Sau khi cập nhật, quay lại đây để tiếp tục chỉnh sửa.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"Tìm kiếm","create_new_asset":"Tạo tài khoản mới","asset_accounts":"tài khoản","reset_after":"Đặt lại mẫu sau khi gửi","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Giao dịch #{ID} (\\"{title}\\")</a> đã được lưu trữ.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"Vị trí","other_budgets":"Custom timed budgets","journal_links":"Liên kết giao dịch","go_to_withdrawals":"Chuyển đến mục rút tiền của bạn","revenue_accounts":"Tài khoản doanh thu","add_another_split":"Thêm một phân chia khác","actions":"Hành động","edit":"Sửa","delete":"Xóa","reconcile_this_account":"Điều chỉnh tài khoản này"},"list":{"piggy_bank":"Ống heo con","percentage":"phần trăm.","amount":"Số tiền","name":"Tên","role":"Quy tắc","iban":"IBAN","currentBalance":"Số dư hiện tại","next_expected_match":"Trận đấu dự kiến tiếp theo"},"config":{"html_language":"vi"},"form":{"foreign_amount":"Ngoại tệ","interest_date":"Ngày lãi","book_date":"Ngày đặt sách","process_date":"Ngày xử lý","due_date":"Ngày đáo hạn","payment_date":"Ngày thanh toán","invoice_date":"Ngày hóa đơn"}}')},4556: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":"查看您的资产账户","transaction_table_description":"包含您交易的表格","account":"账户","description":"描述","amount":"金额","budget":"预算","category":"分类","opposing_account":"对方账户","budgets":"预算","categories":"分类","go_to_budgets":"前往您的预算","income":"收入","go_to_deposits":"前往收入","go_to_categories":"前往您的分类","expense_accounts":"支出账户","go_to_expenses":"前往支出","go_to_bills":"前往账单","bills":"账单","last_thirty_days":"最近 30 天","last_seven_days":"最近 7 天","go_to_piggies":"前往您的存钱罐","saved":"已保存","piggy_banks":"存钱罐","piggy_bank":"存钱罐","amounts":"金额","left":"剩余","spent":"支出","Default asset account":"默认资产账户","search_results":"搜索结果","include":"Include?","transaction":"交易","account_role_defaultAsset":"默认资产账户","account_role_savingAsset":"储蓄账户","account_role_sharedAsset":"共用资产账户","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"现金钱包","daily_budgets":"每日预算","weekly_budgets":"每周预算","monthly_budgets":"每月预算","quarterly_budgets":"每季度预算","create_new_expense":"创建新支出账户","create_new_revenue":"创建新收入账户","create_new_liabilities":"Create new liability","half_year_budgets":"每半年预算","yearly_budgets":"每年预算","split_transaction_title":"拆分交易的描述","errors_submission":"您提交的内容有误,请检查错误信息。","flash_error":"错误!","store_transaction":"保存交易","flash_success":"成功!","create_another":"保存后,返回此页面以创建新记录","update_transaction":"更新交易","after_update_create_another":"更新后,返回此页面继续编辑。","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜索","create_new_asset":"创建新资产账户","asset_accounts":"资产账户","reset_after":"提交后重置表单","bill_paid_on":"支付于 {date}","first_split_decides":"首笔拆分决定此字段的值","first_split_overrules_source":"首笔拆分可能覆盖来源账户","first_split_overrules_destination":"首笔拆分可能覆盖目标账户","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">交易 #{ID} (“{title}”)</a> 已保存。","custom_period":"自定义周期","reset_to_current":"重置为当前周期","select_period":"选择周期","location":"位置","other_budgets":"自定义区间预算","journal_links":"交易关联","go_to_withdrawals":"前往支出","revenue_accounts":"收入账户","add_another_split":"增加另一笔拆分","actions":"操作","edit":"编辑","delete":"删除","reconcile_this_account":"对账此账户"},"list":{"piggy_bank":"存钱罐","percentage":"%","amount":"金额","name":"名称","role":"角色","iban":"国际银行账户号码(IBAN)","currentBalance":"目前余额","next_expected_match":"预期下次支付"},"config":{"html_language":"zh-cn"},"form":{"foreign_amount":"外币金额","interest_date":"利息日期","book_date":"登记日期","process_date":"处理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"发票日期"}}')},1715: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":"檢視您的資產帳戶","transaction_table_description":"A table containing your transactions","account":"帳戶","description":"描述","amount":"金額","budget":"預算","category":"分類","opposing_account":"Opposing account","budgets":"預算","categories":"分類","go_to_budgets":"前往您的預算","income":"收入 / 所得","go_to_deposits":"Go to deposits","go_to_categories":"前往您的分類","expense_accounts":"支出帳戶","go_to_expenses":"Go to expenses","go_to_bills":"前往您的帳單","bills":"帳單","last_thirty_days":"最近30天","last_seven_days":"最近7天","go_to_piggies":"前往您的小豬撲滿","saved":"Saved","piggy_banks":"小豬撲滿","piggy_bank":"小豬撲滿","amounts":"Amounts","left":"剩餘","spent":"支出","Default asset account":"預設資產帳戶","search_results":"搜尋結果","include":"Include?","transaction":"交易","account_role_defaultAsset":"預設資產帳戶","account_role_savingAsset":"儲蓄帳戶","account_role_sharedAsset":"共用資產帳戶","clear_location":"清除位置","account_role_ccAsset":"信用卡","account_role_cashWalletAsset":"現金錢包","daily_budgets":"Daily budgets","weekly_budgets":"Weekly budgets","monthly_budgets":"Monthly budgets","quarterly_budgets":"Quarterly budgets","create_new_expense":"建立新支出帳戶","create_new_revenue":"建立新收入帳戶","create_new_liabilities":"Create new liability","half_year_budgets":"Half-yearly budgets","yearly_budgets":"Yearly budgets","split_transaction_title":"拆分交易的描述","errors_submission":"There was something wrong with your submission. Please check out the errors.","flash_error":"錯誤!","store_transaction":"Store transaction","flash_success":"成功!","create_another":"After storing, return here to create another one.","update_transaction":"Update transaction","after_update_create_another":"After updating, return here to continue editing.","transaction_updated_no_changes":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") did not receive any changes.","transaction_updated_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID}</a> (\\"{title}\\") has been updated.","spent_x_of_y":"Spent {amount} of {total}","search":"搜尋","create_new_asset":"建立新資產帳戶","asset_accounts":"資產帳戶","reset_after":"Reset form after submission","bill_paid_on":"Paid on {date}","first_split_decides":"The first split determines the value of this field","first_split_overrules_source":"The first split may overrule the source account","first_split_overrules_destination":"The first split may overrule the destination account","transaction_stored_link":"<a href=\\"transactions/show/{ID}\\">Transaction #{ID} (\\"{title}\\")</a> has been stored.","custom_period":"Custom period","reset_to_current":"Reset to current period","select_period":"Select a period","location":"位置","other_budgets":"Custom timed budgets","journal_links":"交易連結","go_to_withdrawals":"Go to your withdrawals","revenue_accounts":"收入帳戶","add_another_split":"增加拆分","actions":"操作","edit":"編輯","delete":"刪除","reconcile_this_account":"對帳此帳戶"},"list":{"piggy_bank":"小豬撲滿","percentage":"pct.","amount":"金額","name":"名稱","role":"角色","iban":"國際銀行帳戶號碼 (IBAN)","currentBalance":"目前餘額","next_expected_match":"下一個預期的配對"},"config":{"html_language":"zh-tw"},"form":{"foreign_amount":"外幣金額","interest_date":"利率日期","book_date":"登記日期","process_date":"處理日期","due_date":"到期日","payment_date":"付款日期","invoice_date":"發票日期"}}')}},e=>{"use strict";e.O(0,[228],(()=>{return t=212,e(e.s=t);var t}));e.O()}]);
//# sourceMappingURL=index.js.map
\ No newline at end of file
diff --git a/resources/lang/it_IT/firefly.php b/resources/lang/it_IT/firefly.php
index 70268951a5..cf08cdc208 100644
--- a/resources/lang/it_IT/firefly.php
+++ b/resources/lang/it_IT/firefly.php
@@ -423,7 +423,7 @@ return [
'apply_rule_selection' => 'Applica la regola ":title" a una selezione delle tue transazioni',
'apply_rule_selection_intro' => 'Regole come ":title" sono normalmente applicate solo a transazioni nuove o aggiornate, ma puoi dire a Firefly III di eseguirle su una selezione delle tue transazioni esistenti. Questo può essere utile quando hai aggiornato una regola e hai bisogno che le modifiche vengano applicate a tutte le altre transazioni.',
'include_transactions_from_accounts' => 'Includi transazioni da questi conti',
- 'include' => 'Include?',
+ 'include' => 'Includere?',
'applied_rule_selection' => '{0} Nessuna transazione della selezione è stata cambiata dalla regola ":title".|[1] Una transazione della selezione è stata modificata dalla regola ":title".|[2,*] :count transazioni della selezione sono state modificate dalla regola ":title".',
'execute' => 'Eseguire',
'apply_rule_group_selection' => 'Applica il gruppo di regole ":title" a una selezione delle tue transazioni',
diff --git a/resources/lang/pt_BR/firefly.php b/resources/lang/pt_BR/firefly.php
index 0fce226a03..e816989843 100644
--- a/resources/lang/pt_BR/firefly.php
+++ b/resources/lang/pt_BR/firefly.php
@@ -423,7 +423,7 @@ return [
'apply_rule_selection' => 'Aplicar a regra ":title" para uma seleção de suas transações',
'apply_rule_selection_intro' => 'As regras como ":title" normalmente são aplicadas apenas a transações novas ou atualizadas, mas você pode informar o Firefly III para executá-lo em uma seleção de suas transações existentes. Isso pode ser útil quando você atualizou uma regra e você precisa das alterações a serem aplicadas a todas as suas outras transações.',
'include_transactions_from_accounts' => 'Incluir as transações destas contas',
- 'include' => 'Include?',
+ 'include' => 'Incluir?',
'applied_rule_selection' => '{0} Nenhuma transação em sua seleção foi alterada pela regra ":title".|[1] Uma transação em sua seleção foi alterada pela regra ":title".|[2,*] :count transações em sua seleção foram alteradas pela regra ":title".',
'execute' => 'Executar',
'apply_rule_group_selection' => 'Aplicar grupo de regras ":title" para uma seleção de suas transações',
diff --git a/resources/views/emails/error-html.twig b/resources/views/emails/error-html.twig
index d90bc67879..01c97e9e7d 100644
--- a/resources/views/emails/error-html.twig
+++ b/resources/views/emails/error-html.twig
@@ -25,7 +25,7 @@
</p>
<p style="font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;">
- {{ trans('email.error_ip', { ip: ip }) }}<br />
+ {{ trans('email.error_ip', { ip: ip }) }} (<a href="https://ipinfo.io/{{ ip }}/json?token={{ token }}">info</a>)<br />
{{ trans('email.error_url', {url :url }) }}<br />
{{ trans('email.error_user_agent', {userAgent: userAgent }) }}
</p>