Rebuild frontpage.

This commit is contained in:
James Cole
2021-01-17 08:52:40 +01:00
parent eb5d17d695
commit c86791950d
46 changed files with 1050 additions and 245 deletions

View File

@@ -73,6 +73,9 @@ const state = () => ({
// meta data
budget_id: 0,
bill_id: 0,
piggy_bank_id: 0,
tags: [],
// optional date fields (6x):
interest_date: null,
@@ -81,6 +84,11 @@ const state = () => ({
due_date: null,
payment_date: null,
invoice_date: null,
// optional other fields:
internal_reference: null,
external_url: null,
notes: null
},
}
)
@@ -148,6 +156,7 @@ const actions = {
// console.log('Found no type for ' + source.type + ' --> ' + dest.type);
if ('Asset account' !== source.type) {
console.log('Drop ID from source. TODO');
// source.id =null
// context.commit('updateField', {field: 'source_account',index: })
// context.state.transactions[0].source_account.id = null;
@@ -170,8 +179,8 @@ const mutations = {
setCustomDateFields(state, payload) {
state.customDateFields = payload;
},
deleteTransaction(state, index) {
state.transactions.splice(index, 1);
deleteTransaction(state, payload) {
state.transactions.splice(payload.index, 1);
},
setTransactionType(state, transactionType) {
state.transactionType = transactionType;

View File

@@ -20,7 +20,7 @@
<template>
<div>
<div class="row" v-for="(transaction, index) in transactions">
<div class="row" v-for="(transaction, index) in this.transactions">
<div class="col">
<div class="card">
<div class="card-header">
@@ -29,13 +29,13 @@
<span v-if="transactions.length > 1">{{ $t('firefly.single_split') }} {{ index + 1 }} / {{ transactions.length }}</span>
</h3>
<div v-if="transactions.length > 1" class="card-tools">
<button class="btn btn-xs btn-danger" type="button" v-on:click="deleteTransaction(index, $event)"><i
<button class="btn btn-xs btn-danger" type="button" v-on:click="removeTransaction(index)"><i
class="fa fa-trash"></i></button>
</div>
</div>
<!-- /.card-header -->
<div class="card-body">
<h4>{{ $t('firefly.basic_journal_information') }}</h4>
<h4>{{ $t('firefly.basic_journal_information') }}: {{ transaction.description }}</h4>
<div class="row">
<div class="col">
<p class="d-block d-sm-none">XS</p>
@@ -48,8 +48,9 @@
<!-- description etc, 3 rows -->
<div class="row">
<div class="col">
Description:
<TransactionDescription
:description="transactions[index].description"
v-bind:description.sync="transaction.description"
:index="index"
></TransactionDescription>
</div>
@@ -61,7 +62,7 @@
<div class="col-xl-5 col-lg-5 col-md-10 col-sm-12 col-xs-12">
<!-- SOURCE -->
<TransactionAccount
:selectedAccount="transactions[index].source_account"
:selectedAccount="transaction.source_account"
direction="source"
:index="index"
/>
@@ -77,7 +78,7 @@
<div class="col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12">
<!-- DESTINATION -->
<TransactionAccount
:selectedAccount="transactions[index].destination_account"
:selectedAccount="transaction.destination_account"
direction="destination"
:index="index"
/>
@@ -105,8 +106,8 @@
<div class="row">
<div class="col-xl-5 col-lg-5 col-md-12 col-sm-12 col-xs-12">
<TransactionDate
:date="transactions[index].date"
:time="transactions[index].time"
:date="transaction.date"
:time="transaction.time"
:index="index"
/>
</div>
@@ -116,60 +117,6 @@
</div>
</div>
<!--
<p class="d-block d-sm-none">XS</p>
<p class="d-none d-sm-block d-md-none">SM</p>
<p class="d-none d-md-block d-lg-none">MD</p>
<p class="d-none d-lg-block d-xl-none">LG</p>
<p class="d-none d-xl-block">XL</p>
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
{# top stuff #}
<div class="row">
<div class="col">
</div>
</div>
-->
<div class="row">
<div class="col">
<!-- AMOUNT -->
<!--
<div class="input-group">
<input
title="Amount"
autocomplete="off"
autofocus
class="form-control"
name="something[]"
type="text"
placeholder="Amount"
>
</div>
<div class="input-group">
<input
title="Foreign"
autocomplete="off"
autofocus
class="form-control"
name="something[]"
type="text"
placeholder="Foreign"
>
</div>
-->
</div>
<div class="col">
</div>
</div>
<h4>{{ $t('firefly.transaction_journal_meta') }}</h4>
<!-- meta -->
@@ -179,48 +126,27 @@
:budget_id="transactions[index].budget_id"
:index="index"
/>
<div class="input-group">
<input
title="Category"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="Category"
>
</div>
<TransactionCategory
:category="transaction.category"
:index="index"
/>
</div>
<div class="col">
<div class="input-group">
<input
title="Bill"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="Bill"
>
</div>
<div class="input-group">
<input
title="Tags"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="Tags"
>
</div>
<div class="input-group">
<input
title="Piggy"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="Piggy"
>
</div>
<TransactionBill
:bill_id="transactions[index].bill_id"
:index="index"
/>
<TransactionTags
:index="index"
:tags="transactions[index].tags"
/>
<TransactionPiggyBank
:index="index"
:piggy_bank_id="transactions[index].piggy_bank_id"
/>
</div>
</div>
@@ -228,50 +154,53 @@
<div class="row">
<div class="col">
<div class="input-group">
<input
title="internal ref"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="internal ref"
>
</div>
<div class="input-group">
<input
title="Piggy"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="external url"
>
</div>
<div class="input-group">
<textarea class="form-control" placeholder="Notes"></textarea>
</div>
<TransactionInternalReference
:index="index"
:internalReference="transaction.internal_reference"
/>
<TransactionExternalUrl
:index="index"
:externalUrl="transaction.external_url"
/>
<TransactionNotes
:index="index"
:notes="transaction.notes"
/>
</div>
<div class="col">
<div class="input-group">
<input
title="Piggy"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="transaction links"
>
</div>
<div class="input-group">
<input
title="Piggy"
autocomplete="off"
class="form-control"
name="something[]"
type="text"
placeholder="piggy bank"
>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.journal_links') }}
</div>
<div class="row">
<div class="col">
<p>
<em>No transaction links</em>
</p>
<ul class="list-group">
<li class="list-group-item">
<em>is paid by</em>
<a href="#">Some other transaction</a> (<span class="text-success">$ 12.34</span>)
<div class="btn-group btn-group-xs float-right">
<a href="#" class="btn btn-xs btn-default"><i class="far fa-edit"></i></a>
<a href="#" class="btn btn-xs btn-danger"><i class="far fa-trash-alt"></i></a>
</div>
</li>
<li class="list-group-item">
<em>is paid by</em>
<a href="#">Some other transaction</a> (<span class="text-success">$ 12.34</span>)
<div class="btn-group btn-group-xs float-right">
<a href="#" class="btn btn-xs btn-default"><i class="far fa-edit"></i></a>
<a href="#" class="btn btn-xs btn-danger"><i class="far fa-trash-alt"></i></a>
</div>
</li>
</ul>
<div class="form-text">
<a href="#" class="btn btn-default"><i class="fas fa-plus"></i></a>
</div>
</div>
</div>
</div>
</div>
@@ -308,16 +237,24 @@
</template>
<script>
import {createNamespacedHelpers} from 'vuex'
import TransactionDescription from "./TransactionDescription";
import TransactionDate from "./TransactionDate";
import TransactionBudget from "./TransactionBudget";
import {createNamespacedHelpers} from 'vuex'
import TransactionAccount from "./TransactionAccount";
import SwitchAccount from "./SwitchAccount";
import TransactionAmount from "./TransactionAmount";
import TransactionForeignAmount from "./TransactionForeignAmount";
import TransactionForeignCurrency from "./TransactionForeignCurrency";
import TransactionCustomDates from "./TransactionCustomDates";
import TransactionCategory from "./TransactionCategory";
import TransactionBill from "./TransactionBill";
import TransactionTags from "./TransactionTags";
import TransactionPiggyBank from "./TransactionPiggyBank";
import TransactionInternalReference from "./TransactionInternalReference";
import TransactionExternalUrl from "./TransactionExternalUrl";
import TransactionNotes from "./TransactionNotes";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
@@ -325,6 +262,13 @@ const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers
export default {
name: "Create",
components: {
TransactionNotes,
TransactionExternalUrl,
TransactionInternalReference,
TransactionPiggyBank,
TransactionTags,
TransactionBill,
TransactionCategory,
TransactionCustomDates,
TransactionForeignCurrency,
TransactionForeignAmount, TransactionAmount, SwitchAccount, TransactionAccount, TransactionBudget, TransactionDescription, TransactionDate
@@ -357,6 +301,10 @@ export default {
'setAccountToTransaction',
],
),
removeTransaction: function(index) {
// store.commit('addCustomer'
this.$store.commit('transactions/create/deleteTransaction', {index: index});
},
storeCustomDateFields: function () {
// TODO may include all custom fields in the future.
axios.get('./api/v1/preferences/transaction_journal_optional_fields').then(response => {
@@ -372,7 +320,7 @@ export default {
};
for (let key in fields) {
if (fields.hasOwnProperty(key)) {
if(-1 !== allDateFields.indexOf(key)) {
if (-1 !== allDateFields.indexOf(key)) {
selectedDateFields[key] = fields[key];
}
}
@@ -444,9 +392,25 @@ export default {
foreign_amount: array.foreign_amount,
// meta
// meta data
budget_id: array.budget_id,
category: array.category,
bill_id: array.bill_id,
tags: array.tags,
piggy_bank_id: array.piggy_bank_id,
// optional date fields (6x):
interest_date: array.interest_date,
book_date: array.book_date,
process_date: array.process_date,
due_date: array.due_date,
payment_date: array.payment_date,
invoice_date: array.invoice_date,
// other optional fields:
internal_reference: array.internal_reference,
external_url: array.external_url,
notes: array.notes,
};
// return it.

View File

@@ -0,0 +1,112 @@
<!--
- TransactionBill.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.bill') }}
</div>
<div class="input-group">
<select
ref="bill"
:title="$t('firefly.bill')"
v-model="bill_id"
autocomplete="off"
class="form-control"
name="bill_id[]"
v-on:submit.prevent
>
<option v-for="bill in this.billList" :value="bill.id" :label="bill.name">{{ bill.name }}</option>
</select>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
name: "TransactionBill",
data() {
return {
billList: []
}
},
created() {
this.collectData();
},
methods: {
...mapMutations(
[
'updateField',
],
),
collectData() {
this.billList.push(
{
id: 0,
name: this.$t('firefly.no_bill'),
}
);
this.getBills();
},
getBills() {
axios.get('./api/v1/bills')
.then(response => {
this.parseBills(response.data);
}
);
},
parseBills(data) {
for (let key in data.data) {
if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
let current = data.data[key];
this.billList.push(
{
id: parseInt(current.id),
name: current.attributes.name
}
);
}
}
},
},
computed: {
...mapGetters([
'transactionType',
'transactions',
]),
bill_id: {
get() {
return this.transactions[this.index].bill_id;
},
set(value) {
this.updateField({field: 'bill_id', index: this.index, value: value});
}
}
}
}
</script>

View File

@@ -109,7 +109,3 @@ export default {
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,121 @@
<!--
- TransactionCategory.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.category') }}
</div>
<vue-typeahead-bootstrap
inputName="category[]"
v-model="category"
:data="categories"
:placeholder="$t('firefly.category')"
:showOnFocus=true
:minMatchingChars="3"
:serializer="item => item.name"
@hit="selectedCategory = $event"
@input="lookupCategory"
>
<template slot="append">
<div class="input-group-append">
<button v-on:click="clearCategory" class="btn btn-outline-secondary" type="button"><i class="far fa-trash-alt"></i></button>
</div>
</template>
</vue-typeahead-bootstrap>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
import VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';
import {debounce} from "lodash";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
components: {VueTypeaheadBootstrap},
name: "TransactionCategory",
data() {
return {
categories: [],
initialSet: [],
category: '',
}
},
created() {
// initial list of accounts:
axios.get(this.getACURL(''))
.then(response => {
this.categories = response.data;
this.initialSet = response.data;
});
},
methods: {
...mapMutations(
[
'updateField',
],
),
clearCategory: function () {
this.category = '';
},
getACURL: function (query) {
// update autocomplete URL:
return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/categories?query=' + query;
},
lookupCategory: debounce(function () {
// update autocomplete URL:
axios.get(this.getACURL(this.category))
.then(response => {
this.categories = response.data;
})
}, 300)
},
watch: {
category: function (value) {
console.log('Watch category: "' + value + '"');
this.updateField({field: 'category', index: this.index, value: value});
}
},
computed: {
...mapGetters([
'transactionType',
'transactions',
]),
selectedCategory: {
get() {
return this.categories[this.index].name;
},
set(value) {
this.updateField({field: 'category', index: this.index, value: value.name});
}
}
}
}
</script>

View File

@@ -23,72 +23,43 @@
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.description') }}
</div>
<vue-typeahead-bootstrap
inputName="description[]"
v-model="query"
:data="descriptions"
:placeholder="$t('firefly.description')"
:showOnFocus=true
autofocus
:minMatchingChars="3"
:serializer="item => item.description"
@hit="selectedDescription = $event"
@input="lookupDescription"
>
<template slot="append">
<div class="input-group-append">
<button v-on:click="clearDescription" class="btn btn-outline-secondary" type="button"><i class="far fa-trash-alt"></i></button>
</div>
</template>
</vue-typeahead-bootstrap>
<!--
<vue-typeahead-bootstrap
<vue-typeahead-bootstrap
inputName="description[]"
v-model="description"
:data="descriptions"
:serializer="item => item.name_with_balance"
@hit="selectedAccount = $event"
:placeholder="$t('firefly.' + this.direction + '_account')"
@input="lookupAccount"
>
</vue-typeahead-bootstrap>
<input
ref="description"
:title="$t('firefly.description')"
v-model="description"
autocomplete="off"
autofocus
class="form-control"
name="description[]"
type="text"
:placeholder="$t('firefly.description')"
v-on:submit.prevent
>
-->
:placeholder="$t('firefly.description')"
:showOnFocus=true
autofocus
:minMatchingChars="3"
:serializer="item => item.description"
@input="lookupDescription"
>
<template slot="append">
<div class="input-group-append">
<button v-on:click="clearDescription" class="btn btn-outline-secondary" type="button"><i class="far fa-trash-alt"></i></button>
</div>
</template>
</vue-typeahead-bootstrap>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
import VueTypeaheadBootstrap from 'vue-typeahead-bootstrap';
import {debounce} from "lodash";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
// https://firefly.sd.home/api/v1/autocomplete/transactions?query=test
export default {
props: ['index'],
props: ['index', 'description'],
components: {VueTypeaheadBootstrap},
name: "TransactionDescription",
data() {
return {
descriptions: [],
query: '',
initialSet: []
}
},
@@ -110,20 +81,27 @@ export default {
],
),
clearDescription: function () {
this.selectedDescription = '';
this.description = '';
},
getACURL: function (query) {
// update autocomplete URL:
return document.getElementsByTagName('base')[0].href + 'api/v1/autocomplete/transactions?query=' + query;
},
lookupDescription: debounce(function () {
console.log('lookupDescription');
// update autocomplete URL:
axios.get(this.getACURL(this.query))
axios.get(this.getACURL(this.description))
.then(response => {
this.descriptions = response.data;
})
}, 300)
},
watch: {
description: function (value) {
console.log('Index ' + this.index + ': ' + value);
//this.updateField({field: 'description', index: this.index, value: value});
}
},
computed: {
...mapGetters([
'transactionType',
@@ -131,16 +109,13 @@ export default {
]),
selectedDescription: {
get() {
return this.transactions[this.index].description;
//return this.description;
},
set(value) {
this.updateField({field: 'description', index: this.index, value: value});
this.description = value.description;
//this.updateField({field: 'description', index: this.index, value: value.description});
}
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,70 @@
<!--
- TransactionInternalReference.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.external_url') }}
</div>
<div class="input-group">
<input
type="url"
name="external_url[]"
:placeholder="$t('firefly.external_url')"
v-model="externalUrl"
class="form-control"/>
<div class="input-group-append">
<button type="button" class="btn btn-outline-secondary"><i class="far fa-trash-alt"></i></button>
</div>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
name: "TransactionExternalUrl",
methods: {
...mapMutations(
[
'updateField',
],
),
},
data() {
return {
externalUrl: '',
}
},
watch: {
externalUrl: function (value) {
this.updateField({field: 'external_url', index: this.index, value: value});
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,70 @@
<!--
- TransactionInternalReference.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.internal_reference') }}
</div>
<div class="input-group">
<input
type="text"
name="internal_reference[]"
v-model="internalReference"
:placeholder="$t('firefly.internal_reference')"
class="form-control"/>
<div class="input-group-append">
<button type="button" class="btn btn-outline-secondary"><i class="far fa-trash-alt"></i></button>
</div>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
name: "TransactionInternalReference",
methods: {
...mapMutations(
[
'updateField',
],
),
},
data() {
return {
internalReference: '',
}
},
watch: {
internalReference: function (value) {
this.updateField({field: 'internal_reference', index: this.index, value: value});
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,64 @@
<!--
- TransactionNotes.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.notes') }}
</div>
<div class="input-group">
<textarea v-model="notes" class="form-control" placeholder="Notes"></textarea>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
name: "TransactionNotes",
methods: {
...mapMutations(
[
'updateField',
],
),
},
data() {
return {
notes: '',
}
},
watch: {
notes: function (value) {
this.updateField({field: 'notes', index: this.index, value: value});
}
}
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,112 @@
<!--
- TransactionPiggyBank.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.piggy_bank') }}
</div>
<div class="input-group">
<select
ref="piggy_bank_id"
:title="$t('firefly.piggy_bank')"
v-model="piggy_bank_id"
autocomplete="off"
class="form-control"
name="piggy_bank_id[]"
v-on:submit.prevent
>
<option v-for="piggy in this.piggyList" :value="piggy.id" :label="piggy.name_with_balance">{{ piggy.name_with_balance }}</option>
</select>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
export default {
props: ['index'],
name: "TransactionPiggyBank",
data() {
return {
piggyList: []
}
},
created() {
this.collectData();
},
methods: {
...mapMutations(
[
'updateField',
],
),
collectData() {
this.piggyList.push(
{
id: 0,
name_with_balance: this.$t('firefly.no_piggy_bank'),
}
);
this.getPiggies();
},
getPiggies() {
axios.get('./api/v1/autocomplete/piggy-banks-with-balance')
.then(response => {
this.parsePiggies(response.data);
}
);
},
parsePiggies(data) {
for (let key in data) {
if (data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
let current = data[key];
this.piggyList.push(
{
id: parseInt(current.id),
name_with_balance: current.name_with_balance
}
);
}
}
},
},
computed: {
...mapGetters([
'transactionType',
'transactions',
]),
piggy_bank_id: {
get() {
return this.transactions[this.index].piggy_bank_id;
},
set(value) {
this.updateField({field: 'piggy_bank_id', index: this.index, value: value});
}
}
}
}
</script>

View File

@@ -0,0 +1,122 @@
<!--
- TransactionTags.vue
- Copyright (c) 2021 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
-
- This program is free software: you can redistribute it and/or modify
- it under the terms of the GNU Affero General Public License as
- published by the Free Software Foundation, either version 3 of the
- License, or (at your option) any later version.
-
- This program is distributed in the hope that it will be useful,
- but WITHOUT ANY WARRANTY; without even the implied warranty of
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- GNU Affero General Public License for more details.
-
- You should have received a copy of the GNU Affero General Public License
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="form-group">
<div class="text-xs d-none d-lg-block d-xl-block">
{{ $t('firefly.tags') }}
</div>
<div class="input-group">
<vue-tags-input
v-model="tag"
:add-only-from-autocomplete="false"
:autocomplete-items="autocompleteItems"
:tags="tags"
:title="$t('firefly.tags')"
v-bind:placeholder="$t('firefly.tags')"
@tags-changed="update"/>
</div>
</div>
</template>
<script>
import {createNamespacedHelpers} from "vuex";
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('transactions/create')
import VueTagsInput from "@johmun/vue-tags-input";
import axios from "axios";
export default {
name: "TransactionTags",
components: {
VueTagsInput
},
props: ['value', 'error', 'index'],
data() {
return {
tag: '',
autocompleteItems: [],
debounce: null,
tags: this.value,
};
},
watch: {
'tag': 'initItems',
},
methods: {
...mapMutations(
[
'updateField',
],
),
update(newTags) {
this.autocompleteItems = [];
this.tags = newTags;
// create array for update field thing:
let shortList = [];
for(let key in newTags) {
if (newTags.hasOwnProperty(key)) {
shortList.push(newTags[key].text);
}
}
this.updateField({field: 'tags', index: this.index, value: shortList});
},
hasError: function () {
return this.error.length > 0;
},
initItems() {
// console.log('Now in initItems');
if (this.tag.length < 2) {
return;
}
const url = document.getElementsByTagName('base')[0].href + `api/v1/autocomplete/tags?query=${this.tag}`;
clearTimeout(this.debounce);
this.debounce = setTimeout(() => {
axios.get(url).then(response => {
this.autocompleteItems = response.data.map(a => {
return {text: a.tag};
});
}).catch(() => console.warn('Oh. Something went wrong loading tags.'));
}, 600);
},
},
}
</script>
<style>
.vue-tags-input {
width: 100%;
max-width: 100% !important;
display: block;
border-radius: 0.25rem;
}
.ti-input {
border-radius: 0.25rem;
max-width: 100%;
width: 100%;
}
.ti-new-tag-input {
font-size: 1rem;
}
</style>

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "\u0421\u043c\u0435\u0442\u043a\u0438 \u0437\u0430 \u043f\u043b\u0430\u0449\u0430\u043d\u0435",
"left_to_spend": "\u041e\u0441\u0442\u0430\u043d\u0430\u043b\u0438 \u0437\u0430 \u0445\u0430\u0440\u0447\u0435\u043d\u0435",
"net_worth": "\u041d\u0435\u0442\u043d\u0430 \u0441\u0442\u043e\u0439\u043d\u043e\u0441\u0442",
"bill": "\u0421\u043c\u0435\u0442\u043a\u0430",
"no_bill": "(\u043d\u044f\u043c\u0430 \u0441\u043c\u0435\u0442\u043a\u0430)",
"tags": "\u0415\u0442\u0438\u043a\u0435\u0442\u0438",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(\u0431\u0435\u0437 \u043a\u0430\u0441\u0438\u0447\u043a\u0430)",
"paid": "\u041f\u043b\u0430\u0442\u0435\u043d\u0438",
"notes": "\u0411\u0435\u043b\u0435\u0436\u043a\u0438",
"yourAccounts": "\u0412\u0430\u0448\u0438\u0442\u0435 \u0441\u043c\u0435\u0442\u043a\u0438",
"go_to_asset_accounts": "\u0412\u0438\u0436\u0442\u0435 \u0430\u043a\u0442\u0438\u0432\u0438\u0442\u0435 \u0441\u0438",
"transaction_table_description": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430 \u0441\u044a\u0434\u044a\u0440\u0436\u0430\u0449\u0430 \u0432\u0430\u0448\u0438\u0442\u0435 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",
@@ -57,6 +64,7 @@
"half_year_budgets": "\u0428\u0435\u0441\u0442\u043c\u0435\u0441\u0435\u0447\u043d\u0438 \u0431\u044e\u0434\u0436\u0435\u0442\u0438",
"yearly_budgets": "\u0413\u043e\u0434\u0438\u0448\u043d\u0438 \u0431\u044e\u0434\u0436\u0435\u0442\u0438",
"other_budgets": "\u0412\u0440\u0435\u043c\u0435\u0432\u043e \u043f\u0435\u0440\u0441\u043e\u043d\u0430\u043b\u0438\u0437\u0438\u0440\u0430\u043d\u0438 \u0431\u044e\u0434\u0436\u0435\u0442\u0438",
"journal_links": "\u0412\u0440\u044a\u0437\u043a\u0438 \u043d\u0430 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f",
"go_to_withdrawals": "\u0412\u0438\u0436\u0442\u0435 \u0442\u0435\u0433\u043b\u0435\u043d\u0438\u044f\u0442\u0430 \u0441\u0438",
"revenue_accounts": "\u0421\u043c\u0435\u0442\u043a\u0438 \u0437\u0430 \u043f\u0440\u0438\u0445\u043e\u0434\u0438",
"add_another_split": "\u0414\u043e\u0431\u0430\u0432\u044f\u043d\u0435 \u043d\u0430 \u0434\u0440\u0443\u0433 \u0440\u0430\u0437\u0434\u0435\u043b"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Faktury k zaplacen\u00ed",
"left_to_spend": "Zb\u00fdv\u00e1 k utracen\u00ed",
"net_worth": "\u010cist\u00e9 jm\u011bn\u00ed",
"bill": "\u00da\u010det",
"no_bill": "(no bill)",
"tags": "\u0160t\u00edtky",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(\u017e\u00e1dn\u00e1 pokladni\u010dka)",
"paid": "Zaplaceno",
"notes": "Pozn\u00e1mky",
"yourAccounts": "Va\u0161e \u00fa\u010dty",
"go_to_asset_accounts": "Zobrazit \u00fa\u010dty s aktivy",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "Transaction links",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "P\u0159\u00edjmov\u00e9 \u00fa\u010dty",
"add_another_split": "P\u0159idat dal\u0161\u00ed roz\u00fa\u010dtov\u00e1n\u00ed"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Unbezahlte Rechnungen",
"left_to_spend": "Verbleibend zum Ausgeben",
"net_worth": "Eigenkapital",
"bill": "Rechnung",
"no_bill": "(keine Belege)",
"tags": "Schlagw\u00f6rter",
"internal_reference": "Internal reference",
"external_url": "External 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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Halbjahresbudgets",
"yearly_budgets": "Jahresbudgets",
"other_budgets": "Zeitlich befristete Budgets",
"journal_links": "Buchungsverkn\u00fcpfungen",
"go_to_withdrawals": "Ausgaben anzeigen",
"revenue_accounts": "Einnahmekonten",
"add_another_split": "Eine weitere Aufteilung hinzuf\u00fcgen"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "\u03a0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1 \u03c0\u03c1\u03bf\u03c2 \u03c0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ae",
"left_to_spend": "\u0394\u03b9\u03b1\u03b8\u03ad\u03c3\u03b9\u03bc\u03b1 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03ce\u03bd",
"net_worth": "\u039a\u03b1\u03b8\u03b1\u03c1\u03ae \u03b1\u03be\u03af\u03b1",
"bill": "\u03a0\u03ac\u03b3\u03b9\u03bf \u03ad\u03be\u03bf\u03b4\u03bf",
"no_bill": "(\u03c7\u03c9\u03c1\u03af\u03c2 \u03c0\u03ac\u03b3\u03b9\u03bf \u03ad\u03be\u03bf\u03b4\u03bf)",
"tags": "\u0395\u03c4\u03b9\u03ba\u03ad\u03c4\u03b5\u03c2",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(\u03c7\u03c9\u03c1\u03af\u03c2 \u03ba\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac)",
"paid": "\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf",
"notes": "\u03a3\u03b7\u03bc\u03b5\u03b9\u03ce\u03c3\u03b5\u03b9\u03c2",
"yourAccounts": "\u039f\u03b9 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03af \u03c3\u03b1\u03c2",
"go_to_asset_accounts": "\u0394\u03b5\u03af\u03c4\u03b5 \u03c4\u03bf\u03c5\u03c2 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03bf\u03cd\u03c2 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf\u03c5 \u03c3\u03b1\u03c2",
"transaction_table_description": "\u0388\u03bd\u03b1\u03c2 \u03c0\u03af\u03bd\u03b1\u03ba\u03b1\u03c2 \u03bc\u03b5 \u03c4\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ad\u03c2 \u03c3\u03b1\u03c2",
@@ -56,8 +63,9 @@
"quarterly_budgets": "\u03a4\u03c1\u03b9\u03bc\u03b7\u03bd\u03b9\u03b1\u03af\u03bf\u03b9 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af",
"half_year_budgets": "\u0395\u03be\u03b1\u03bc\u03b7\u03bd\u03b9\u03b1\u03af\u03bf\u03b9 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af",
"yearly_budgets": "\u0395\u03c4\u03ae\u03c3\u03b9\u03bf\u03b9 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af",
"other_budgets": "Custom timed budgets",
"go_to_withdrawals": "Go to your withdrawals",
"other_budgets": "\u03a0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af \u03bc\u03b5 \u03c7\u03c1\u03bf\u03bd\u03b9\u03ba\u03ae \u03c0\u03c1\u03bf\u03c3\u03b1\u03c1\u03bc\u03bf\u03b3\u03ae",
"journal_links": "\u03a3\u03c5\u03bd\u03b4\u03ad\u03c3\u03b5\u03b9\u03c2 \u03c3\u03c5\u03bd\u03b1\u03bb\u03bb\u03b1\u03b3\u03ce\u03bd",
"go_to_withdrawals": "\u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b9\u03c2 \u03b1\u03bd\u03b1\u03bb\u03ae\u03c8\u03b5\u03b9\u03c2 \u03c3\u03b1\u03c2",
"revenue_accounts": "\u0388\u03c3\u03bf\u03b4\u03b1",
"add_another_split": "\u03a0\u03c1\u03bf\u03c3\u03b8\u03ae\u03ba\u03b7 \u03b5\u03bd\u03cc\u03c2 \u03b1\u03ba\u03cc\u03bc\u03b1 \u03b4\u03b9\u03b1\u03c7\u03c9\u03c1\u03b9\u03c3\u03bc\u03bf\u03cd"
},

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Bills to pay",
"left_to_spend": "Left to spend",
"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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"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"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Bills to pay",
"left_to_spend": "Left to spend",
"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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"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"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Facturas por pagar",
"left_to_spend": "Disponible para gastar",
"net_worth": "Valor Neto",
"bill": "Factura",
"no_bill": "(sin factura)",
"tags": "Etiquetas",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(sin alcanc\u00eda)",
"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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Presupuestos semestrales",
"yearly_budgets": "Presupuestos anuales",
"other_budgets": "Presupuestos de tiempo personalizado",
"journal_links": "Enlaces de transacciones",
"go_to_withdrawals": "Ir a sus retiros",
"revenue_accounts": "Cuentas de ingresos",
"add_another_split": "A\u00f1adir otra divisi\u00f3n"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Laskuja maksettavana",
"left_to_spend": "K\u00e4ytett\u00e4viss\u00e4",
"net_worth": "Varallisuus",
"bill": "Lasku",
"no_bill": "(no bill)",
"tags": "T\u00e4git",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(ei s\u00e4\u00e4st\u00f6possu)",
"paid": "Maksettu",
"notes": "Muistiinpanot",
"yourAccounts": "Omat tilisi",
"go_to_asset_accounts": "Tarkastele omaisuustilej\u00e4si",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "Tapahtuman linkit",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "Tuottotilit",
"add_another_split": "Lis\u00e4\u00e4 tapahtumaan uusi osa"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Factures \u00e0 payer",
"left_to_spend": "Reste \u00e0 d\u00e9penser",
"net_worth": "Avoir net",
"bill": "Facture",
"no_bill": "(aucune facture)",
"tags": "Tags",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(aucune tirelire)",
"paid": "Pay\u00e9",
"notes": "Notes",
"yourAccounts": "Vos comptes",
"go_to_asset_accounts": "Afficher vos comptes d'actifs",
"transaction_table_description": "Une table contenant vos op\u00e9rations",
@@ -57,6 +64,7 @@
"half_year_budgets": "Budgets semestriels",
"yearly_budgets": "Budgets annuels",
"other_budgets": "Budgets \u00e0 p\u00e9riode personnalis\u00e9e",
"journal_links": "Liens d'op\u00e9ration",
"go_to_withdrawals": "Acc\u00e9der \u00e0 vos retraits",
"revenue_accounts": "Comptes de recettes",
"add_another_split": "Ajouter une autre fraction"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Fizetend\u0151 sz\u00e1ml\u00e1k",
"left_to_spend": "Elk\u00f6lthet\u0151",
"net_worth": "Nett\u00f3 \u00e9rt\u00e9k",
"bill": "Sz\u00e1mla",
"no_bill": "(no bill)",
"tags": "C\u00edmk\u00e9k",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(nincs malacpersely)",
"paid": "Kifizetve",
"notes": "Megjegyz\u00e9sek",
"yourAccounts": "Banksz\u00e1ml\u00e1k",
"go_to_asset_accounts": "Eszk\u00f6zsz\u00e1ml\u00e1k megtekint\u00e9se",
"transaction_table_description": "Tranzakci\u00f3kat tartalmaz\u00f3 t\u00e1bl\u00e1zat",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "Tranzakci\u00f3 \u00f6sszekapcsol\u00e1sok",
"go_to_withdrawals": "Ugr\u00e1s a k\u00f6lts\u00e9gekhez",
"revenue_accounts": "J\u00f6vedelemsz\u00e1ml\u00e1k",
"add_another_split": "M\u00e1sik feloszt\u00e1s hozz\u00e1ad\u00e1sa"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Bollette da pagare",
"left_to_spend": "Altro da spendere",
"net_worth": "Patrimonio",
"bill": "Bolletta",
"no_bill": "(nessuna bolletta)",
"tags": "Etichette",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(nessun salvadanaio)",
"paid": "Pagati",
"notes": "Note",
"yourAccounts": "I tuoi conti",
"go_to_asset_accounts": "Visualizza i tuoi conti attivit\u00e0",
"transaction_table_description": "Una tabella contenente le tue transazioni",
@@ -57,6 +64,7 @@
"half_year_budgets": "Bilanci semestrali",
"yearly_budgets": "Budget annuali",
"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"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Regninger \u00e5 betale",
"left_to_spend": "Igjen \u00e5 bruke",
"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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"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"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Openstaande contracten",
"left_to_spend": "Over om uit te geven",
"net_worth": "Kapitaal",
"bill": "Contract",
"no_bill": "(geen contract)",
"tags": "Tags",
"internal_reference": "Internal reference",
"external_url": "External 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",
@@ -57,6 +64,7 @@
"half_year_budgets": "Halfjaarlijkse budgetten",
"yearly_budgets": "Jaarlijkse budgetten",
"other_budgets": "Aangepaste budgetten",
"journal_links": "Transactiekoppelingen",
"go_to_withdrawals": "Ga naar je uitgaven",
"revenue_accounts": "Debiteuren",
"add_another_split": "Voeg een split toe"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Rachunki do zap\u0142acenia",
"left_to_spend": "Pozosta\u0142o do wydania",
"net_worth": "Warto\u015b\u0107 netto",
"bill": "Rachunek",
"no_bill": "(brak rachunku)",
"tags": "Tagi",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(brak skarbonki)",
"paid": "Zap\u0142acone",
"notes": "Notatki",
"yourAccounts": "Twoje konta",
"go_to_asset_accounts": "Zobacz swoje konta aktyw\u00f3w",
"transaction_table_description": "Tabela zawieraj\u0105ca Twoje transakcje",
@@ -57,6 +64,7 @@
"half_year_budgets": "Bud\u017cety p\u00f3\u0142roczne",
"yearly_budgets": "Bud\u017cety roczne",
"other_budgets": "Bud\u017cety niestandardowe",
"journal_links": "Powi\u0105zane transakcje",
"go_to_withdrawals": "Przejd\u017a do swoich wydatk\u00f3w",
"revenue_accounts": "Konta przychod\u00f3w",
"add_another_split": "Dodaj kolejny podzia\u0142"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Faturas a pagar",
"left_to_spend": "Restante para gastar",
"net_worth": "Valor L\u00edquido",
"bill": "Fatura",
"no_bill": "(sem fatura)",
"tags": "Tags",
"internal_reference": "Internal reference",
"external_url": "External URL",
"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\u00e7\u00f5es",
@@ -57,6 +64,7 @@
"half_year_budgets": "Or\u00e7amentos semestrais",
"yearly_budgets": "Or\u00e7amentos anuais",
"other_budgets": "Custom timed budgets",
"journal_links": "Transa\u00e7\u00f5es ligadas",
"go_to_withdrawals": "V\u00e1 para seus saques",
"revenue_accounts": "Contas de receitas",
"add_another_split": "Adicionar outra divis\u00e3o"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Facturile de plat\u0103",
"left_to_spend": "Ramas de cheltuit",
"net_worth": "Valoarea net\u0103",
"bill": "Factur\u0103",
"no_bill": "(no bill)",
"tags": "Etichete",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(nicio pu\u0219culi\u021b\u0103)",
"paid": "Pl\u0103tit",
"notes": "Noti\u021be",
"yourAccounts": "Conturile dvs.",
"go_to_asset_accounts": "Vizualiza\u021bi conturile de active",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "Link-uri de tranzac\u021bii",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "Conturi de venituri",
"add_another_split": "Ad\u0103uga\u021bi o divizare"

View File

@@ -3,23 +3,30 @@
"Transfer": "\u041f\u0435\u0440\u0435\u0432\u043e\u0434",
"Withdrawal": "\u0420\u0430\u0441\u0445\u043e\u0434",
"Deposit": "\u0414\u043e\u0445\u043e\u0434",
"date_and_time": "Date and time",
"date_and_time": "\u0414\u0430\u0442\u0430 \u0438\u00a0\u0432\u0440\u0435\u043c\u044f",
"no_currency": "(\u043d\u0435\u0442 \u0432\u0430\u043b\u044e\u0442\u044b)",
"date": "\u0414\u0430\u0442\u0430",
"time": "Time",
"time": "\u0412\u0440\u0435\u043c\u044f",
"no_budget": "(\u0432\u043d\u0435 \u0431\u044e\u0434\u0436\u0435\u0442\u0430)",
"destination_account": "\u0421\u0447\u0451\u0442 \u043d\u0430\u0437\u043d\u0430\u0447\u0435\u043d\u0438\u044f",
"source_account": "\u0421\u0447\u0451\u0442-\u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a",
"single_split": "\u0420\u0430\u0437\u0434\u0435\u043b\u0451\u043d\u043d\u0430\u044f \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044f",
"create_new_transaction": "Create a new transaction",
"create_new_transaction": "\u0421\u043e\u0437\u0434\u0430\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u044e",
"balance": "\u0411a\u043ba\u043dc",
"transaction_journal_extra": "Extra information",
"transaction_journal_extra": "\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0435 \u0441\u0432\u0435\u0434\u0435\u043d\u0438\u044f",
"transaction_journal_meta": "\u0414\u043e\u043f\u043e\u043b\u043d\u0438\u0442\u0435\u043b\u044c\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f",
"basic_journal_information": "Basic transaction information",
"basic_journal_information": "\u041e\u0441\u043d\u043e\u0432\u043d\u0430\u044f \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u044f \u043e \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",
"bills_to_pay": "\u0421\u0447\u0435\u0442\u0430 \u043a \u043e\u043f\u043b\u0430\u0442\u0435",
"left_to_spend": "\u041e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043f\u043e\u0442\u0440\u0430\u0442\u0438\u0442\u044c",
"net_worth": "\u041c\u043e\u0438 \u0441\u0431\u0435\u0440\u0435\u0436\u0435\u043d\u0438\u044f",
"bill": "\u0421\u0447\u0451\u0442 \u043a \u043e\u043f\u043b\u0430\u0442\u0435",
"no_bill": "(\u043d\u0435\u0442 \u0441\u0447\u0451\u0442\u0430 \u043d\u0430 \u043e\u043f\u043b\u0430\u0442\u0443)",
"tags": "\u041c\u0435\u0442\u043a\u0438",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(\u043d\u0435\u0442 \u043a\u043e\u043f\u0438\u043b\u043a\u0438)",
"paid": "\u041e\u043f\u043b\u0430\u0447\u0435\u043d\u043e",
"notes": "\u0417\u0430\u043c\u0435\u0442\u043a\u0438",
"yourAccounts": "\u0412\u0430\u0448\u0438 \u0441\u0447\u0435\u0442\u0430",
"go_to_asset_accounts": "\u041f\u0440\u043e\u0441\u043c\u043e\u0442\u0440 \u0432\u0430\u0448\u0438\u0445 \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u0445 \u0441\u0447\u0435\u0442\u043e\u0432",
"transaction_table_description": "\u0422\u0430\u0431\u043b\u0438\u0446\u0430, \u0441\u043e\u0434\u0435\u0440\u0436\u0430\u0449\u0430\u044f \u0432\u0430\u0448\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",
@@ -50,14 +57,15 @@
"account_role_sharedAsset": "\u041e\u0431\u0449\u0438\u0439 \u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u0447\u0451\u0442",
"account_role_ccAsset": "\u041a\u0440\u0435\u0434\u0438\u0442\u043d\u0430\u044f \u043a\u0430\u0440\u0442\u0430",
"account_role_cashWalletAsset": "\u041a\u043e\u0448\u0435\u043b\u0451\u043a \u0441 \u043d\u0430\u043b\u0438\u0447\u043d\u044b\u043c\u0438",
"daily_budgets": "Daily budgets",
"weekly_budgets": "Weekly budgets",
"monthly_budgets": "Monthly budgets",
"quarterly_budgets": "Quarterly budgets",
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"go_to_withdrawals": "Go to your withdrawals",
"daily_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u0434\u0435\u043d\u044c",
"weekly_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u043d\u0435\u0434\u0435\u043b\u044e",
"monthly_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u043c\u0435\u0441\u044f\u0446",
"quarterly_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u043a\u0432\u0430\u0440\u0442\u0430\u043b",
"half_year_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u043f\u043e\u043b\u0433\u043e\u0434\u0430",
"yearly_budgets": "\u0413\u043e\u0434\u043e\u0432\u044b\u0435 \u0431\u044e\u0434\u0436\u0435\u0442\u044b",
"other_budgets": "\u0411\u044e\u0434\u0436\u0435\u0442\u044b \u043d\u0430 \u043f\u0440\u043e\u0438\u0437\u0432\u043e\u043b\u044c\u043d\u044b\u0439 \u043e\u0442\u0440\u0435\u0437\u043e\u043a \u0432\u0440\u0435\u043c\u0435\u043d\u0438",
"journal_links": "\u0421\u0432\u044f\u0437\u0438 \u0442\u0440\u0430\u043d\u0437\u0430\u043a\u0446\u0438\u0438",
"go_to_withdrawals": "\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0432\u0430\u0448\u0438\u043c \u0440\u0430\u0441\u0445\u043e\u0434\u0430\u043c",
"revenue_accounts": "\u0421\u0447\u0435\u0442\u0430 \u0434\u043e\u0445\u043e\u0434\u043e\u0432",
"add_another_split": "\u0414\u043e\u0431\u0430\u0432\u0438\u0442\u044c \u043d\u043e\u0432\u0443\u044e \u0447\u0430\u0441\u0442\u044c"
},

View File

@@ -3,23 +3,30 @@
"Transfer": "Prevod",
"Withdrawal": "V\u00fdber",
"Deposit": "Vklad",
"date_and_time": "Date and time",
"date_and_time": "D\u00e1tum a \u010das",
"no_currency": "(\u017eiadna mena)",
"date": "D\u00e1tum",
"time": "Time",
"time": "\u010cas",
"no_budget": "(\u017eiadny rozpo\u010det)",
"destination_account": "Cie\u013eov\u00fd \u00fa\u010det",
"source_account": "Zdrojov\u00fd \u00fa\u010det",
"single_split": "Roz\u00fa\u010dtova\u0165",
"create_new_transaction": "Create a new transaction",
"create_new_transaction": "Vytvori\u0165 nov\u00fa transakciu",
"balance": "Zostatok",
"transaction_journal_extra": "Extra information",
"transaction_journal_extra": "\u010eal\u0161ie inform\u00e1cie",
"transaction_journal_meta": "Meta inform\u00e1cie",
"basic_journal_information": "Basic transaction information",
"basic_journal_information": "Z\u00e1kladn\u00e9 Inform\u00e1cie o transakcii",
"bills_to_pay": "\u00da\u010dty na \u00fahradu",
"left_to_spend": "Zost\u00e1va k \u00fatrate",
"net_worth": "\u010cist\u00e9 imanie",
"bill": "\u00da\u010det",
"no_bill": "(\u017eiadny \u00fa\u010det)",
"tags": "\u0160t\u00edtky",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(\u017eiadna pokladni\u010dka)",
"paid": "Uhraden\u00e9",
"notes": "Pozn\u00e1mky",
"yourAccounts": "Va\u0161e \u00fa\u010dty",
"go_to_asset_accounts": "Zobrazi\u0165 \u00fa\u010dty akt\u00edv",
"transaction_table_description": "Tabu\u013eka obsahuj\u00faca va\u0161e transakcie",
@@ -57,6 +64,7 @@
"half_year_budgets": "Polro\u010dn\u00e9 rozpo\u010dty",
"yearly_budgets": "Ro\u010dn\u00e9 rozpo\u010dty",
"other_budgets": "\u0160pecifick\u00e9 \u010dasovan\u00e9 rozpo\u010dty",
"journal_links": "Prepojenia transakcie",
"go_to_withdrawals": "Zobrazi\u0165 v\u00fdbery",
"revenue_accounts": "V\u00fdnosov\u00e9 \u00fa\u010dty",
"add_another_split": "Prida\u0165 \u010fal\u0161ie roz\u00fa\u010dtovanie"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "Notor att betala",
"left_to_spend": "\u00c5terst\u00e5r att spendera",
"net_worth": "Nettof\u00f6rm\u00f6genhet",
"bill": "Nota",
"no_bill": "(ingen r\u00e4kning)",
"tags": "Etiketter",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(ingen spargris)",
"paid": "Betald",
"notes": "Noteringar",
"yourAccounts": "Dina konton",
"go_to_asset_accounts": "Visa dina tillg\u00e5ngskonton",
"transaction_table_description": "En tabell som inneh\u00e5ller dina transaktioner",
@@ -57,6 +64,7 @@
"half_year_budgets": "Halv\u00e5rsbudgetar",
"yearly_budgets": "\u00c5rliga budgetar",
"other_budgets": "Anpassade tidsinst\u00e4llda budgetar",
"journal_links": "Transaktionsl\u00e4nkar",
"go_to_withdrawals": "G\u00e5 till dina uttag",
"revenue_accounts": "Int\u00e4ktskonton",
"add_another_split": "L\u00e4gga till en annan delning"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "H\u00f3a \u0111\u01a1n ph\u1ea3i tr\u1ea3",
"left_to_spend": "C\u00f2n l\u1ea1i \u0111\u1ec3 chi ti\u00eau",
"net_worth": "T\u00e0i s\u1ea3n th\u1ef1c",
"bill": "H\u00f3a \u0111\u01a1n",
"no_bill": "(no bill)",
"tags": "Nh\u00e3n",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(ch\u01b0a c\u00f3 heo \u0111\u1ea5t)",
"paid": "\u0110\u00e3 thanh to\u00e1n",
"notes": "Ghi ch\u00fa",
"yourAccounts": "T\u00e0i kho\u1ea3n c\u1ee7a b\u1ea1n",
"go_to_asset_accounts": "Xem t\u00e0i kho\u1ea3n c\u1ee7a b\u1ea1n",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "Li\u00ean k\u1ebft giao d\u1ecbch",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "T\u00e0i kho\u1ea3n doanh thu",
"add_another_split": "Th\u00eam m\u1ed9t ph\u00e2n chia kh\u00e1c"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "\u5f85\u4ed8\u5e10\u5355",
"left_to_spend": "\u5269\u4f59\u53ef\u82b1\u8d39",
"net_worth": "\u51c0\u503c",
"bill": "\u5e10\u5355",
"no_bill": "(no bill)",
"tags": "\u6807\u7b7e",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "\uff08\u65e0\u5b58\u94b1\u7f50\uff09",
"paid": "\u5df2\u4ed8\u6b3e",
"notes": "\u6ce8\u91ca",
"yourAccounts": "\u60a8\u7684\u5e10\u6237",
"go_to_asset_accounts": "\u68c0\u89c6\u60a8\u7684\u8d44\u4ea7\u5e10\u6237",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "\u4ea4\u6613\u8fde\u7ed3",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "\u6536\u5165\u5e10\u6237",
"add_another_split": "\u589e\u52a0\u62c6\u5206"

View File

@@ -19,7 +19,14 @@
"bills_to_pay": "\u5f85\u4ed8\u5e33\u55ae",
"left_to_spend": "\u5269\u9918\u53ef\u82b1\u8cbb",
"net_worth": "\u6de8\u503c",
"bill": "\u5e33\u55ae",
"no_bill": "(no bill)",
"tags": "\u6a19\u7c64",
"internal_reference": "Internal reference",
"external_url": "External URL",
"no_piggy_bank": "(no piggy bank)",
"paid": "\u5df2\u4ed8\u6b3e",
"notes": "\u5099\u8a3b",
"yourAccounts": "\u60a8\u7684\u5e33\u6236",
"go_to_asset_accounts": "\u6aa2\u8996\u60a8\u7684\u8cc7\u7522\u5e33\u6236",
"transaction_table_description": "A table containing your transactions",
@@ -57,6 +64,7 @@
"half_year_budgets": "Half-yearly budgets",
"yearly_budgets": "Yearly budgets",
"other_budgets": "Custom timed budgets",
"journal_links": "\u4ea4\u6613\u9023\u7d50",
"go_to_withdrawals": "Go to your withdrawals",
"revenue_accounts": "\u6536\u5165\u5e33\u6236",
"add_another_split": "\u589e\u52a0\u62c6\u5206"