Basic new dashboard.

This commit is contained in:
James Cole
2020-07-05 18:29:58 +02:00
parent 4d4d91bf84
commit a56cefda7d
68 changed files with 1013 additions and 212 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -79,7 +79,6 @@
return sections;
},
getDefaultOptions() {
console.log('getDefaultOptions()');
return {
legend: {
display: false,

View File

@@ -79,7 +79,6 @@
return sections;
},
getDefaultOptions() {
console.log('getDefaultOptions()');
return {
legend: {
display: false,

View File

@@ -1,5 +1,5 @@
<!--
- SingleTransactionRow.vue
- DefaultPieOptions.vue
- Copyright (c) 2020 james@firefly-iii.org
-
- This file is part of Firefly III (https://github.com/firefly-iii).
@@ -19,14 +19,12 @@
-->
<template>
<div>
Hello
</div>
</template>
<script>
export default {
name: "SingleTransactionRow"
name: "DefaultPieOptions"
}
</script>

View File

@@ -38,20 +38,20 @@
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<main-debit-chart/>
<div class="col-lg-8 col-md-8 col-sm-12 col-xs-12">
<main-debit/>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<main-credit-chart/>
<div class="col-lg-4 col-md-4 col-sm-12 col-xs-12">
<main-credit/>
</div>
</div>
<div class="row">
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<main-bills-chart/>
<main-piggy-list/>
</div>
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
<main-piggy-list/>
<main-bills-list/>
</div>
</div>
</div>
@@ -59,9 +59,6 @@
<script>
export default {
name: "Dashboard",
mounted() {
console.log('Dashboard mounted.')
}
name: "Dashboard"
}
</script>

View File

@@ -52,8 +52,6 @@
},
mounted() {
this.chartOptions = DefaultLineOptions.methods.getDefaultOptions();
this.loaded = false;
axios.get('./api/v1/chart/account/overview?start=' + window.sessionStart + '&end=' + window.sessionEnd)
.then(response => {

View File

@@ -1,42 +0,0 @@
<!--
- MainBillsChart.vue
- Copyright (c) 2020 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="card">
<div class="card-header">
<h3 class="card-title">I am a card</h3>
</div>
<div class="card-body">
<p>
I am card body
</p>
</div>
</div>
</template>
<script>
export default {
name: "MainBillsChart"
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,88 @@
<!--
- MainBills.vue
- Copyright (c) 2020 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="card">
<div class="card-header">
<h3 class="card-title">{{ $t('firefly.bills') }}</h3>
</div>
<div class="card-body table-responsive p-0">
<table class="table table-striped">
<thead>
<tr>
<th style="width:35%;">{{ $t('list.name') }}</th>
<th style="width:40%;">{{ $t('list.amount') }}</th>
<th style="width:25%;">{{ $t('list.next_expected_match') }}</th>
</tr>
</thead>
<tbody>
<tr v-for="bill in this.bills">
<td><a :href="'./bills/show' + bill.id" :title="bill.attributes.name">{{ bill.attributes.name }}</a></td>
<td>~{{ Intl.NumberFormat('en-US', {style: 'currency', currency: bill.attributes.currency_code}).format((bill.attributes.amount_min +
bill.attributes.amount_max) / 2) }}
</td>
<td>
<span v-for="payDate in bill.attributes.pay_dates">
{{ payDate }}<br />
</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<a href="./bills" class="btn btn-default button-sm"><i class="far fa-money-bill-alt"></i> {{ $t('firefly.go_to_bills') }}</a>
</div>
</div>
</template>
<script>
export default {
name: "MainBillsList",
mounted() {
axios.get('./api/v1/bills?start=' + window.sessionStart + '&end=' + window.sessionEnd)
.then(response => {
this.loadBills(response.data.data);
}
);
},
components: {},
methods: {
loadBills(data) {
for (let key in data) {
if (data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
let bill = data[key];
let active = bill.attributes.active;
if (bill.attributes.pay_dates.length > 0 && active) {
this.bills.push(bill);
}
}
}
}
},
data() {
return {
bills: []
}
},
computed: {},
}
</script>

View File

@@ -21,22 +21,36 @@
<template>
<div class="card">
<div class="card-header">
<h3 class="card-title">I am a card</h3>
<!-- debit = expense -->
<h3 class="card-title">{{ $t('firefly.income') }}</h3>
</div>
<div class="card-body">
<p>
I am card body
</p>
<div class="card-body table-responsive p-0">
<transaction-list-small :transactions="this.transactions" />
</div>
<div class="card-footer">
<a href="./accounts/revenue" class="btn btn-default button-sm"><i class="far fa-money-bill-alt"></i> {{ $t('firefly.go_to_deposits') }}</a>
</div>
</div>
</template>
<script>
export default {
name: "MainCrebitChart"
name: "MainCredit",
components: {},
data() {
return {
transactions: []
}
},
mounted() {
axios.get('./api/v1/transactions?type=deposit&limit=10&start=' + window.sessionStart + '&end=' + window.sessionEnd)
.then(response => {
this.transactions = response.data.data;
}
);
},
methods: {
},
computed: {},
}
</script>
<style scoped>
</style>

View File

@@ -0,0 +1,82 @@
<!--
- MainDebit.vue
- Copyright (c) 2020 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="card">
<div class="card-header">
<!-- debit = expense -->
<h3 class="card-title">{{ $t('firefly.expense_accounts') }}</h3>
</div>
<div class="card-body">
<div>
<main-debit-chart v-if="loaded" :styles="chartStyles" :options="chartOptions" :chart-data="chartData"></main-debit-chart>
</div>
</div>
<div class="card-footer">
<a href="./accounts/expense" class="btn btn-default button-sm"><i class="far fa-money-bill-alt"></i> {{ $t('firefly.go_to_expenses') }}</a>
</div>
</div>
</template>
<script>
import MainDebitChart from "./MainDebitChart";
import DefaultBarOptions from "../charts/DefaultBarOptions";
import DataConverter from "../charts/DataConverter";
export default {
name: "MainDebit",
components: {
MainDebitChart
},
data() {
return {
chartData: null,
loaded: false,
chartOptions: null,
}
},
mounted() {
this.chartOptions = DefaultBarOptions.methods.getDefaultOptions();
this.loaded = false;
axios.get('./api/v1/chart/account/expense?start=' + window.sessionStart + '&end=' + window.sessionEnd)
.then(response => {
this.chartData = response.data;
this.chartData = DataConverter.methods.convertChart(this.chartData);
this.loaded = true
});
},
methods: {
},
computed: {
chartStyles() {
return {
height: '400px',
'max-height': '400px',
position: 'relative',
display: 'block',
}
}
},
}
</script>
<style scoped>
</style>

View File

@@ -18,25 +18,18 @@
- along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<template>
<div class="card">
<div class="card-header">
<h3 class="card-title">I am a card</h3>
</div>
<div class="card-body">
<p>
I am card body
</p>
</div>
</div>
</template>
<script>
import {Line} from 'vue-chartjs'
export default {
name: "MainDebitChart"
name: "MainDebitChart",
extends: Line,
props: ['options', 'chartData'],
mounted() {
// this.chartData is created in the mixin.
// If you want to pass options please create a local options object
this.renderChart(this.chartData, this.options)
}
}
</script>
<style scoped>
</style>

View File

@@ -21,19 +21,78 @@
<template>
<div class="card">
<div class="card-header">
<h3 class="card-title">I am a card</h3>
<h3 class="card-title">{{ $t('firefly.piggy_banks') }}</h3>
</div>
<div class="card-body">
<p>
I am card body
</p>
<div class="card-body table-responsive p-0">
<table class="table table-striped">
<thead>
<tr>
<th style="width:35%;">{{ $t('list.piggy_bank') }}</th>
<th style="width:40%;">{{ $t('list.percentage') }}</th>
<th style="width:25%;text-align: right;">{{ $t('list.amount') }}</th>
</tr>
</thead>
<tbody>
<tr v-for="piggy in this.piggy_banks">
<td>{{ piggy.attributes.name }}
<br /><small class="text-muted">{{ piggy.attributes.object_group_title }}</small>
</td>
<td>
<div class="progress-group">
<div class="progress progress-sm">
<div class="progress-bar primary" v-if="piggy.attributes.pct < 100" :style="{'width': piggy.attributes.pct + '%'}"></div>
<div class="progress-bar bg-success" v-if="100 === piggy.attributes.pct" :style="{'width': piggy.attributes.pct + '%'}"></div>
</div>
</div>
</td>
<td style="text-align: right;">
<span class="text-success">
{{ Intl.NumberFormat('en-US', {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.current_amount) }}
</span>
of
<span class="text-success">{{ Intl.NumberFormat('en-US', {style: 'currency', currency: piggy.attributes.currency_code}).format(piggy.attributes.target_amount) }}</span>
</td>
</tr>
</tbody>
</table>
</div>
<div class="card-footer">
<a href="./piggy-banks" class="btn btn-default button-sm"><i class="far fa-money-bill-alt"></i> {{ $t('firefly.go_to_piggies') }}</a>
</div>
</div>
</template>
<script>
export default {
name: "MainPiggyList"
name: "MainPiggyList",
mounted() {
axios.get('./api/v1/piggy_banks')
.then(response => {
this.loadPiggyBanks(response.data.data);
}
);
},
methods: {
loadPiggyBanks(data) {
for (let key in data) {
if (data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
let piggy = data[key];
if(0.0 !== parseFloat(piggy.attributes.left_to_save)) {
piggy.attributes.pct = (parseFloat(piggy.attributes.current_amount) / parseFloat(piggy.attributes.target_amount)) * 100;
this.piggy_banks.push(piggy);
}
}
}
this.piggy_banks.sort(function(a, b) {
return b.attributes.pct - a.attributes.pct;
});
}
},
data() {
return {
piggy_banks: []
}
}
}
</script>

View File

@@ -13,7 +13,29 @@
"amount": "\u010c\u00e1stka",
"budget": "Rozpo\u010det",
"category": "Kategorie",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Rozpo\u010dty",
"categories": "Kategorie",
"go_to_budgets": "P\u0159ej\u00edt k rozpo\u010dt\u016fm",
"income": "Odm\u011bna\/p\u0159\u00edjem",
"go_to_deposits": "Go to deposits",
"go_to_categories": "P\u0159ej\u00edt ke kategori\u00edm",
"expense_accounts": "V\u00fddajov\u00e9 \u00fa\u010dty",
"go_to_expenses": "Go to expenses",
"go_to_bills": "P\u0159ej\u00edt k \u00fa\u010dt\u016fm",
"bills": "\u00da\u010dty",
"go_to_piggies": "P\u0159ej\u00edt k pokladni\u010dk\u00e1m",
"saved": "Saved",
"piggy_banks": "Pokladni\u010dky",
"piggy_bank": "Pokladni\u010dka",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Pokladni\u010dka",
"percentage": "pct.",
"amount": "\u010c\u00e1stka",
"name": "Jm\u00e9no",
"next_expected_match": "Dal\u0161\u00ed o\u010dek\u00e1van\u00e1 shoda"
},
"config": {
"html_language": "cs"

View File

@@ -13,7 +13,29 @@
"amount": "Betrag",
"budget": "Budget",
"category": "Kategorie",
"opposing_account": "Gegenkonto"
"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": "Kreditoren (Ausgabenkonten)",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Rechnungen anzeigen",
"bills": "Rechnungen",
"go_to_piggies": "Sparschweine anzeigen",
"saved": "Saved",
"piggy_banks": "Sparschweine",
"piggy_bank": "Sparschwein",
"amounts": "Betr\u00e4ge"
},
"list": {
"piggy_bank": "Sparschwein",
"percentage": "%",
"amount": "Betrag",
"name": "Name",
"next_expected_match": "N\u00e4chste erwartete \u00dcbereinstimmung"
},
"config": {
"html_language": "de"

View File

@@ -7,13 +7,35 @@
"paid": "\u03a0\u03bb\u03b7\u03c1\u03c9\u03bc\u03ad\u03bd\u03bf",
"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": "A table containing your transactions",
"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",
"account": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2",
"description": "\u03a0\u03b5\u03c1\u03b9\u03b3\u03c1\u03b1\u03c6\u03ae",
"amount": "\u03a0\u03bf\u03c3\u03cc",
"budget": "\u03a0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03cc\u03c2",
"category": "\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b1",
"opposing_account": "Opposing account"
"opposing_account": "\u0388\u03bd\u03b1\u03bd\u03c4\u03b9 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2",
"budgets": "\u03a0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03af",
"categories": "\u039a\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b5\u03c2",
"go_to_budgets": "\u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03bf\u03c5\u03c2 \u03c0\u03c1\u03bf\u03cb\u03c0\u03bf\u03bb\u03bf\u03b3\u03b9\u03c3\u03bc\u03bf\u03cd\u03c2 \u03c3\u03b1\u03c2",
"income": "\u0388\u03c3\u03bf\u03b4\u03b1",
"go_to_deposits": "Go to deposits",
"go_to_categories": "\u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b9\u03c2 \u03ba\u03b1\u03c4\u03b7\u03b3\u03bf\u03c1\u03af\u03b5\u03c2 \u03c3\u03b1\u03c2",
"expense_accounts": "\u0394\u03b1\u03c0\u03ac\u03bd\u03b5\u03c2",
"go_to_expenses": "Go to expenses",
"go_to_bills": "\u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03b1 \u03c0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1",
"bills": "\u03a0\u03ac\u03b3\u03b9\u03b1 \u03ad\u03be\u03bf\u03b4\u03b1",
"go_to_piggies": "\u03a0\u03b7\u03b3\u03b1\u03af\u03bd\u03b5\u03c4\u03b5 \u03c3\u03c4\u03bf\u03c5\u03c2 \u03ba\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03c2 \u03c3\u03b1\u03c2",
"saved": "Saved",
"piggy_banks": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03b4\u03b5\u03c2",
"piggy_bank": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03c2",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03c2",
"percentage": "pct.",
"amount": "\u03a0\u03bf\u03c3\u03cc",
"name": "\u038c\u03bd\u03bf\u03bc\u03b1",
"next_expected_match": "\u0395\u03c0\u03cc\u03bc\u03b5\u03bd\u03b7 \u03b1\u03bd\u03b1\u03bc\u03b5\u03bd\u03cc\u03bc\u03b5\u03bd\u03b7 \u03b1\u03bd\u03c4\u03b9\u03c3\u03c4\u03bf\u03af\u03c7\u03b9\u03c3\u03b7"
},
"config": {
"html_language": "el"

View File

@@ -13,7 +13,29 @@
"amount": "Amount",
"budget": "Budget",
"category": "Category",
"opposing_account": "Opposing account"
"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",
"go_to_piggies": "Go to your piggy banks",
"saved": "Saved",
"piggy_banks": "Piggy banks",
"piggy_bank": "Piggy bank",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Piggy bank",
"percentage": "pct.",
"amount": "Amount",
"name": "Name",
"next_expected_match": "Next expected match"
},
"config": {
"html_language": "en"

View File

@@ -13,7 +13,29 @@
"amount": "Cantidad",
"budget": "Presupuesto",
"category": "Categoria",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Presupuestos",
"categories": "Categor\u00edas",
"go_to_budgets": "Ir a tus presupuestos",
"income": "Ingresos \/ salarios",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Ir a tus categor\u00edas",
"expense_accounts": "Cuentas de gastos",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Ir a tus cuentas",
"bills": "Facturas",
"go_to_piggies": "Ir a tu hucha",
"saved": "Saved",
"piggy_banks": "Alcanc\u00edas",
"piggy_bank": "Alcanc\u00eda",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Alcancilla",
"percentage": "pct.",
"amount": "Monto",
"name": "Nombre",
"next_expected_match": "Pr\u00f3xima coincidencia esperada"
},
"config": {
"html_language": "es"

View File

@@ -13,7 +13,29 @@
"amount": "Summa",
"budget": "Budjetti",
"category": "Kategoria",
"opposing_account": "Vastatili"
"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",
"go_to_piggies": "Tarkastele s\u00e4\u00e4st\u00f6possujasi",
"saved": "Saved",
"piggy_banks": "S\u00e4\u00e4st\u00f6possut",
"piggy_bank": "S\u00e4\u00e4st\u00f6possu",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "S\u00e4\u00e4st\u00f6possu",
"percentage": "pros.",
"amount": "Summa",
"name": "Nimi",
"next_expected_match": "Seuraava lasku odotettavissa"
},
"config": {
"html_language": "fi"

View File

@@ -13,7 +13,29 @@
"amount": "Montant",
"budget": "Budget",
"category": "Cat\u00e9gorie",
"opposing_account": "Compte oppos\u00e9"
"opposing_account": "Compte oppos\u00e9",
"budgets": "Budgets",
"categories": "Cat\u00e9gories",
"go_to_budgets": "G\u00e9rer vos budgets",
"income": "Recette \/ revenu",
"go_to_deposits": "Aller aux d\u00e9p\u00f4ts",
"go_to_categories": "G\u00e9rer vos cat\u00e9gories",
"expense_accounts": "Comptes de d\u00e9penses",
"go_to_expenses": "Go to expenses",
"go_to_bills": "G\u00e9rer vos factures",
"bills": "Factures",
"go_to_piggies": "G\u00e9rer vos tirelires",
"saved": "Saved",
"piggy_banks": "Tirelires",
"piggy_bank": "Tirelire",
"amounts": "Montants"
},
"list": {
"piggy_bank": "Tirelire",
"percentage": "pct.",
"amount": "Montant",
"name": "Nom",
"next_expected_match": "Prochaine association attendue"
},
"config": {
"html_language": "fr"

View File

@@ -13,7 +13,29 @@
"amount": "\u00d6sszeg",
"budget": "K\u00f6lts\u00e9gkeret",
"category": "Kateg\u00f3ria",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "K\u00f6lts\u00e9gkeretek",
"categories": "Kateg\u00f3ri\u00e1k",
"go_to_budgets": "Ugr\u00e1s a k\u00f6lts\u00e9gkeretekhez",
"income": "J\u00f6vedelem \/ bev\u00e9tel",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Ugr\u00e1s a kateg\u00f3ri\u00e1khoz",
"expense_accounts": "K\u00f6lts\u00e9gsz\u00e1ml\u00e1k",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Ugr\u00e1s a sz\u00e1ml\u00e1khoz",
"bills": "Sz\u00e1ml\u00e1k",
"go_to_piggies": "Ugr\u00e1s a malacperselyekhez",
"saved": "Saved",
"piggy_banks": "Malacperselyek",
"piggy_bank": "Malacpersely",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Malacpersely",
"percentage": "%",
"amount": "\u00d6sszeg",
"name": "N\u00e9v",
"next_expected_match": "K\u00f6vetkez\u0151 v\u00e1rhat\u00f3 egyez\u00e9s"
},
"config": {
"html_language": "hu"

View File

@@ -13,7 +13,29 @@
"amount": "Jumlah",
"budget": "Anggaran",
"category": "Kategori",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Anggaran",
"categories": "Kategori",
"go_to_budgets": "Pergi ke anggaran mu",
"income": "Pendapatan \/ penghasilan",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Menuju ke kategori yang anda miliki",
"expense_accounts": "Rekening pengeluaran",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Menuju ke bill yang anda miliki",
"bills": "Tagihan",
"go_to_piggies": "Go to your piggy banks",
"saved": "Saved",
"piggy_banks": "Piggy banks",
"piggy_bank": "Celengan",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Celengan",
"percentage": "pct.",
"amount": "Jumlah",
"name": "Nama",
"next_expected_match": "Transaksi yang diharapkan berikutnya"
},
"config": {
"html_language": "id"

View File

@@ -13,7 +13,29 @@
"amount": "Importo",
"budget": "Budget",
"category": "Categoria",
"opposing_account": "Conto beneficiario"
"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": "Go to expenses",
"go_to_bills": "Vai alle tue bollette",
"bills": "Bollette",
"go_to_piggies": "Vai ai tuoi salvadanai",
"saved": "Saved",
"piggy_banks": "Salvadanai",
"piggy_bank": "Salvadanaio",
"amounts": "Importi"
},
"list": {
"piggy_bank": "Salvadanaio",
"percentage": "perc.",
"amount": "Importo",
"name": "Nome",
"next_expected_match": "Prossimo abbinamento previsto"
},
"config": {
"html_language": "it"

View File

@@ -13,7 +13,29 @@
"amount": "Bel\u00f8p",
"budget": "Busjett",
"category": "Kategori",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Budsjetter",
"categories": "Kategorier",
"go_to_budgets": "G\u00e5 til budsjettene dine",
"income": "Inntekt",
"go_to_deposits": "Go to deposits",
"go_to_categories": "G\u00e5 til kategoriene dine",
"expense_accounts": "Utgiftskontoer",
"go_to_expenses": "Go to expenses",
"go_to_bills": "G\u00e5 til regningene dine",
"bills": "Regninger",
"go_to_piggies": "G\u00e5 til sparegrisene dine",
"saved": "Saved",
"piggy_banks": "Sparegriser",
"piggy_bank": "Sparegris",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Sparegris",
"percentage": "pct.",
"amount": "Bel\u00f8p",
"name": "Navn",
"next_expected_match": "Neste forventede treff"
},
"config": {
"html_language": "nb"

View File

@@ -13,7 +13,29 @@
"amount": "Bedrag",
"budget": "Budget",
"category": "Categorie",
"opposing_account": "Tegenrekening"
"opposing_account": "Tegenrekening",
"budgets": "Budgetten",
"categories": "Categorie\u00ebn",
"go_to_budgets": "Ga naar je budgetten",
"income": "Inkomsten",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Ga naar je categorie\u00ebn",
"expense_accounts": "Crediteuren",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Ga naar je contracten",
"bills": "Contracten",
"go_to_piggies": "Ga naar je spaarpotjes",
"saved": "Saved",
"piggy_banks": "Spaarpotjes",
"piggy_bank": "Spaarpotje",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Spaarpotje",
"percentage": "pct",
"amount": "Bedrag",
"name": "Naam",
"next_expected_match": "Volgende verwachte match"
},
"config": {
"html_language": "nl"

View File

@@ -13,7 +13,29 @@
"amount": "Kwota",
"budget": "Bud\u017cet",
"category": "Kategoria",
"opposing_account": "Konto przeciwstawne"
"opposing_account": "Konto przeciwstawne",
"budgets": "Bud\u017cety",
"categories": "Kategorie",
"go_to_budgets": "Przejd\u017a do swoich bud\u017cet\u00f3w",
"income": "Przychody \/ dochody",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Przejd\u017a do swoich kategorii",
"expense_accounts": "Konta wydatk\u00f3w",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Przejd\u017a do swoich rachunk\u00f3w",
"bills": "Rachunki",
"go_to_piggies": "Przejd\u017a do swoich skarbonek",
"saved": "Saved",
"piggy_banks": "Skarbonki",
"piggy_bank": "Skarbonka",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Skarbonka",
"percentage": "%",
"amount": "Kwota",
"name": "Nazwa",
"next_expected_match": "Nast\u0119pne oczekiwane dopasowanie"
},
"config": {
"html_language": "pl"

View File

@@ -13,7 +13,29 @@
"amount": "Valor",
"budget": "Or\u00e7amento",
"category": "Categoria",
"opposing_account": "Conta oposta"
"opposing_account": "Conta oposta",
"budgets": "Or\u00e7amentos",
"categories": "Categorias",
"go_to_budgets": "V\u00e1 para seus or\u00e7amentos",
"income": "Receita \/ Renda",
"go_to_deposits": "Ir para os dep\u00f3sitos",
"go_to_categories": "V\u00e1 para suas categorias",
"expense_accounts": "Contas de despesas",
"go_to_expenses": "Go to expenses",
"go_to_bills": "V\u00e1 para suas faturas",
"bills": "Faturas",
"go_to_piggies": "V\u00e1 para sua poupan\u00e7a",
"saved": "Saved",
"piggy_banks": "Cofrinhos",
"piggy_bank": "Cofrinho",
"amounts": "Quantias"
},
"list": {
"piggy_bank": "Cofrinho",
"percentage": "pct.",
"amount": "Total",
"name": "Nome",
"next_expected_match": "Pr\u00f3ximo correspondente esperado"
},
"config": {
"html_language": "pt-br"

View File

@@ -13,7 +13,29 @@
"amount": "Sum\u0103",
"budget": "Buget",
"category": "Categorie",
"opposing_account": "Opposing account"
"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",
"go_to_piggies": "Mergi la pu\u0219culi\u021b\u0103",
"saved": "Saved",
"piggy_banks": "Pu\u0219culi\u021b\u0103",
"piggy_bank": "Pu\u0219culi\u021b\u0103",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Pu\u0219culi\u021b\u0103",
"percentage": "procent %",
"amount": "Sum\u0103",
"name": "Nume",
"next_expected_match": "Urm\u0103toarea potrivire a\u0219teptat\u0103"
},
"config": {
"html_language": "ro"

View File

@@ -7,13 +7,35 @@
"paid": "\u041e\u043f\u043b\u0430\u0447\u0435\u043d\u043e",
"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": "A table containing your transactions",
"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",
"account": "\u0421\u0447\u0451\u0442",
"description": "\u041e\u043f\u0438\u0441\u0430\u043d\u0438\u0435",
"amount": "\u0421\u0443\u043c\u043c\u0430",
"budget": "\u0411\u044e\u0434\u0436\u0435\u0442",
"category": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f",
"opposing_account": "Opposing account"
"opposing_account": "\u041f\u0440\u043e\u0442\u0438\u0432\u043e\u0434\u0435\u0439\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0439 \u0441\u0447\u0451\u0442",
"budgets": "\u0411\u044e\u0434\u0436\u0435\u0442",
"categories": "\u041a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u0438",
"go_to_budgets": "\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0432\u0430\u0448\u0438\u043c \u0431\u044e\u0434\u0436\u0435\u0442\u0430\u043c",
"income": "\u041c\u043e\u0438 \u0434\u043e\u0445\u043e\u0434\u044b",
"go_to_deposits": "Go to deposits",
"go_to_categories": "\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0432\u0430\u0448\u0438\u043c \u043a\u0430\u0442\u0435\u0433\u043e\u0440\u0438\u044f\u043c",
"expense_accounts": "\u0421\u0447\u0435\u0442\u0430 \u0440\u0430\u0441\u0445\u043e\u0434\u043e\u0432",
"go_to_expenses": "Go to expenses",
"go_to_bills": "\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0432\u0430\u0448\u0438\u043c \u0441\u0447\u0435\u0442\u0430\u043c \u043d\u0430 \u043e\u043f\u043b\u0430\u0442\u0443",
"bills": "\u0421\u0447\u0435\u0442\u0430 \u043a \u043e\u043f\u043b\u0430\u0442\u0435",
"go_to_piggies": "\u041f\u0435\u0440\u0435\u0439\u0442\u0438 \u043a \u0432\u0430\u0448\u0438\u043c \u043a\u043e\u043f\u0438\u043b\u043a\u0430\u043c",
"saved": "Saved",
"piggy_banks": "\u041a\u043e\u043f\u0438\u043b\u043a\u0438",
"piggy_bank": "\u041a\u043e\u043f\u0438\u043b\u043a\u0430",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "\u041a\u043e\u043f\u0438\u043b\u043a\u0430",
"percentage": "\u043f\u0440\u043e\u0446\u0435\u043d\u0442\u043e\u0432",
"amount": "\u0421\u0443\u043c\u043c\u0430",
"name": "\u0418\u043c\u044f",
"next_expected_match": "\u0421\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 \u043e\u0436\u0438\u0434\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442"
},
"config": {
"html_language": "ru"

View File

@@ -13,7 +13,29 @@
"amount": "Belopp",
"budget": "Budget",
"category": "Kategori",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Budgetar",
"categories": "Kategorier",
"go_to_budgets": "G\u00e5 till dina budgetar",
"income": "Int\u00e4kter \/ inkomster",
"go_to_deposits": "Go to deposits",
"go_to_categories": "G\u00e5 till dina kategorier",
"expense_accounts": "Kostnadskonto",
"go_to_expenses": "Go to expenses",
"go_to_bills": "G\u00e5 till dina notor",
"bills": "Notor",
"go_to_piggies": "G\u00e5 till dina sparb\u00f6ssor",
"saved": "Saved",
"piggy_banks": "Spargrisar",
"piggy_bank": "Piggy bank",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Spargris",
"percentage": "procent",
"amount": "Belopp",
"name": "Namn",
"next_expected_match": "N\u00e4sta f\u00f6rv\u00e4ntade tr\u00e4ff"
},
"config": {
"html_language": "sv"

View File

@@ -13,7 +13,29 @@
"amount": "Miktar",
"budget": "B\u00fct\u00e7e",
"category": "Kategori",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "B\u00fct\u00e7eler",
"categories": "Kategoriler",
"go_to_budgets": "B\u00fct\u00e7elerine git",
"income": "Gelir \/ gelir",
"go_to_deposits": "Go to deposits",
"go_to_categories": "Kategorilerinize gidin",
"expense_accounts": "Gider hesaplar\u0131",
"go_to_expenses": "Go to expenses",
"go_to_bills": "Faturalar\u0131na git",
"bills": "Fatura",
"go_to_piggies": "Kumbaran\u0131za gidin",
"saved": "Saved",
"piggy_banks": "Piggy banks",
"piggy_bank": "Kumbara",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "Kumbara",
"percentage": "yzd.",
"amount": "Miktar",
"name": "\u0130sim",
"next_expected_match": "Beklenen sonraki e\u015fle\u015fme"
},
"config": {
"html_language": "tr"

View File

@@ -13,7 +13,29 @@
"amount": "S\u1ed1 ti\u1ec1n",
"budget": "Ng\u00e2n s\u00e1ch",
"category": "Danh m\u1ee5c",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "Ng\u00e2n s\u00e1ch",
"categories": "Danh m\u1ee5c",
"go_to_budgets": "Chuy\u1ec3n \u0111\u1ebfn ng\u00e2n s\u00e1ch c\u1ee7a b\u1ea1n",
"income": "Thu nh\u1eadp doanh thu",
"go_to_deposits": "Go to deposits",
"go_to_categories": "\u0110i \u0111\u1ebfn danh m\u1ee5c c\u1ee7a b\u1ea1n",
"expense_accounts": "T\u00e0i kho\u1ea3n chi ph\u00ed",
"go_to_expenses": "Go to expenses",
"go_to_bills": "\u0110i \u0111\u1ebfn h\u00f3a \u0111\u01a1n c\u1ee7a b\u1ea1n",
"bills": "H\u00f3a \u0111\u01a1n",
"go_to_piggies": "T\u1edbi heo \u0111\u1ea5t c\u1ee7a b\u1ea1n",
"saved": "Saved",
"piggy_banks": "Heo \u0111\u1ea5t",
"piggy_bank": "Heo \u0111\u1ea5t",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "\u1ed0ng heo con",
"percentage": "ph\u1ea7n tr\u0103m.",
"amount": "S\u1ed1 ti\u1ec1n",
"name": "T\u00ean",
"next_expected_match": "Tr\u1eadn \u0111\u1ea5u d\u1ef1 ki\u1ebfn ti\u1ebfp theo"
},
"config": {
"html_language": "vi"

View File

@@ -13,7 +13,29 @@
"amount": "\u91d1\u989d",
"budget": "\u9884\u7b97",
"category": "\u5206\u7c7b",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "\u9884\u7b97",
"categories": "\u5206\u7c7b",
"go_to_budgets": "\u524d\u5f80\u60a8\u7684\u9884\u7b97",
"income": "\u6536\u5165 \/ \u6240\u5f97",
"go_to_deposits": "Go to deposits",
"go_to_categories": "\u524d\u5f80\u60a8\u7684\u5206\u7c7b",
"expense_accounts": "\u652f\u51fa\u5e10\u6237",
"go_to_expenses": "Go to expenses",
"go_to_bills": "\u524d\u5f80\u60a8\u7684\u5e10\u5355",
"bills": "\u5e10\u5355",
"go_to_piggies": "\u524d\u5f80\u60a8\u7684\u5b58\u94b1\u7f50",
"saved": "Saved",
"piggy_banks": "\u5b58\u94b1\u7f50",
"piggy_bank": "\u5b58\u94b1\u7f50",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "\u5b58\u94b1\u7f50",
"percentage": "%",
"amount": "\u91d1\u989d",
"name": "\u540d\u79f0",
"next_expected_match": "\u4e0b\u4e00\u4e2a\u9884\u671f\u7684\u914d\u5bf9"
},
"config": {
"html_language": "zh-cn"

View File

@@ -13,7 +13,29 @@
"amount": "\u91d1\u984d",
"budget": "\u9810\u7b97",
"category": "\u5206\u985e",
"opposing_account": "Opposing account"
"opposing_account": "Opposing account",
"budgets": "\u9810\u7b97",
"categories": "\u5206\u985e",
"go_to_budgets": "\u524d\u5f80\u60a8\u7684\u9810\u7b97",
"income": "\u6536\u5165 \/ \u6240\u5f97",
"go_to_deposits": "Go to deposits",
"go_to_categories": "\u524d\u5f80\u60a8\u7684\u5206\u985e",
"expense_accounts": "\u652f\u51fa\u5e33\u6236",
"go_to_expenses": "Go to expenses",
"go_to_bills": "\u524d\u5f80\u60a8\u7684\u5e33\u55ae",
"bills": "\u5e33\u55ae",
"go_to_piggies": "\u524d\u5f80\u60a8\u7684\u5c0f\u8c6c\u64b2\u6eff",
"saved": "Saved",
"piggy_banks": "\u5c0f\u8c6c\u64b2\u6eff",
"piggy_bank": "\u5c0f\u8c6c\u64b2\u6eff",
"amounts": "Amounts"
},
"list": {
"piggy_bank": "\u5c0f\u8c6c\u64b2\u6eff",
"percentage": "pct.",
"amount": "\u91d1\u984d",
"name": "\u540d\u7a31",
"next_expected_match": "\u4e0b\u4e00\u500b\u9810\u671f\u7684\u914d\u5c0d"
},
"config": {
"html_language": "zh-tw"

View File

@@ -22,11 +22,11 @@ import Dashboard from "../components/dashboard/Dashboard";
import TopBoxes from "../components/dashboard/TopBoxes";
import MainAccount from "../components/dashboard/MainAccount";
import MainAccountList from "../components/dashboard/MainAccountList";
import MainBillsChart from "../components/dashboard/MainBillsChart";
import MainBillsList from "../components/dashboard/MainBillsList";
import MainBudget from "../components/dashboard/MainBudget";
import MainCategory from "../components/dashboard/MainCategory";
import MainCrebitChart from "../components/dashboard/MainCrebitChart";
import MainDebitChart from "../components/dashboard/MainDebitChart";
import MainCredit from "../components/dashboard/MainCredit";
import MainDebit from "../components/dashboard/MainDebit";
import MainPiggyList from "../components/dashboard/MainPiggyList";
import TransactionListLarge from "../components/transactions/TransactionListLarge";
import TransactionListMedium from "../components/transactions/TransactionListMedium";
@@ -48,15 +48,13 @@ Vue.component('dashboard', Dashboard);
Vue.component('top-boxes', TopBoxes);
Vue.component('main-account', MainAccount);
Vue.component('main-account-list', MainAccountList);
Vue.component('main-bills-chart', MainBillsChart);
Vue.component('main-bills-list', MainBillsList);
Vue.component('main-budget', MainBudget);
Vue.component('main-category', MainCategory);
Vue.component('main-credit-chart', MainCrebitChart);
Vue.component('main-debit-chart', MainDebitChart);
Vue.component('main-credit', MainCredit);
Vue.component('main-debit', MainDebit);
Vue.component('main-piggy-list', MainPiggyList);
// i18n
let i18n = require('../i18n');