mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-24 22:48:18 +00:00
Rebuild new frontend.
This commit is contained in:
@@ -102,7 +102,7 @@ export default {
|
||||
accounts: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
console.log('mounted account list.');
|
||||
axios.get('./api/v1/accounts?type=' + this.$props.accountTypes)
|
||||
.then(response => {
|
||||
|
@@ -93,6 +93,14 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "BudgetLimitRow",
|
||||
mounted() {
|
||||
this.locale = localStorage.locale ?? 'en-US';
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
locale: 'en-US',
|
||||
}
|
||||
},
|
||||
props: {
|
||||
budgetLimit: {
|
||||
type: Object,
|
||||
|
@@ -26,8 +26,8 @@
|
||||
<div class="card-body table-responsive p-0">
|
||||
<table class="table table-sm">
|
||||
<tbody>
|
||||
<BudgetLimitRow v-bind:key="budgetLimit.id" v-for="budgetLimit in budgetLimits" :budgetLimit="budgetLimit" />
|
||||
<BudgetRow v-bind:key="budget.id" v-for="budget in budgets" :budget="budget" />
|
||||
<BudgetLimitRow v-bind:key="key" v-for="(budgetLimit, key) in budgetLimits" :budgetLimit="budgetLimit" />
|
||||
<BudgetRow v-bind:key="key" v-for="(budget, key) in budgets" :budget="budget" />
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
@@ -34,6 +34,14 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "BudgetRow",
|
||||
mounted() {
|
||||
this.locale = localStorage.locale ?? 'en-US';
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
locale: 'en-US',
|
||||
}
|
||||
},
|
||||
props: {
|
||||
budget: {
|
||||
type: Object,
|
||||
|
@@ -21,6 +21,9 @@
|
||||
<template>
|
||||
<div>
|
||||
|
||||
|
||||
|
||||
|
||||
<top-boxes/>
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
@@ -35,12 +38,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<!--
|
||||
<div class="col-lg-6 col-md-6 col-sm-12 col-xs-12">
|
||||
<main-category />
|
||||
<div class="row">
|
||||
<div class="col">
|
||||
<main-category-list />
|
||||
</div>
|
||||
</div>
|
||||
-->
|
||||
|
||||
<!--
|
||||
<div class="row">
|
||||
@@ -67,7 +69,7 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "Dashboard",
|
||||
mounted() {
|
||||
created() {
|
||||
if (!localStorage.currencyPreference) {
|
||||
this.getCurrencyPreference();
|
||||
}
|
||||
|
@@ -35,12 +35,12 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import DataConverter from "../charts/DataConverter";
|
||||
import DefaultLineOptions from "../charts/DefaultLineOptions";
|
||||
import DataConverter from "../charts/DataConverter";
|
||||
import DefaultLineOptions from "../charts/DefaultLineOptions";
|
||||
|
||||
export default {
|
||||
export default {
|
||||
name: "MainAccount",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/chart/account/overview?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
|
||||
@@ -54,5 +54,5 @@
|
||||
});
|
||||
});
|
||||
},
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -44,7 +44,7 @@ export default {
|
||||
accounts: [],
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/preferences/frontpageAccounts')
|
||||
.then(response => {
|
||||
this.loadAccounts(response);
|
||||
|
@@ -57,7 +57,7 @@
|
||||
|
||||
export default {
|
||||
name: "MainBillsList",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/bills?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
this.loadBills(response.data.data);
|
||||
|
@@ -39,7 +39,7 @@
|
||||
import DataConverter from "../charts/DataConverter";
|
||||
export default {
|
||||
name: "MainBudget",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/chart/budget/overview?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
let chartData = DataConverter.methods.convertChart(response.data);
|
||||
|
@@ -78,28 +78,23 @@ export default {
|
||||
locale: 'en-US',
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
this.locale = localStorage.locale ?? 'en-US';
|
||||
console.log('Mounted.')
|
||||
this.collectData();
|
||||
},
|
||||
methods:
|
||||
{
|
||||
collectData() {
|
||||
console.log('collectData');
|
||||
this.getBudgets();
|
||||
},
|
||||
getBudgets() {
|
||||
console.log('getBudgets()');
|
||||
axios.get('./api/v1/budgets?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
console.log('Go to parseBudgets');
|
||||
this.parseBudgets(response.data);
|
||||
}
|
||||
);
|
||||
},
|
||||
parseBudgets(data) {
|
||||
console.log('in parseBudgets');
|
||||
for (let key in data.data) {
|
||||
if (data.data.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
let current = data.data[key];
|
||||
@@ -120,23 +115,18 @@ export default {
|
||||
|
||||
}
|
||||
}
|
||||
console.log('Found ' + this.rawBudgets.length + ' budgets + expense info.');
|
||||
this.getBudgetLimits();
|
||||
},
|
||||
|
||||
|
||||
getBudgetLimits() {
|
||||
console.log('getBudgetLimits');
|
||||
axios.get('./api/v1/budgets/limits?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
console.log('Go to parse budget limits.');
|
||||
this.parseBudgetLimits(response.data);
|
||||
}
|
||||
);
|
||||
},
|
||||
parseBudgetLimits(data) {
|
||||
console.log('parsebudgetlimits');
|
||||
|
||||
for (let key in data.included) {
|
||||
if (data.included.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
this.budgets[data.included[key].id] =
|
||||
@@ -225,7 +215,6 @@ export default {
|
||||
// };
|
||||
//
|
||||
//
|
||||
// console.log(data.data[key]);
|
||||
//
|
||||
// let period = data.data[key].attributes.period ?? 'other';
|
||||
// this.budgetLimits[period].push(obj);
|
||||
@@ -234,19 +223,14 @@ export default {
|
||||
|
||||
},
|
||||
filterBudgets(budgetId, currencyId) {
|
||||
//console.log('filterBudgets(' + budgetId + ',' + currencyId + ')');
|
||||
for (let key in this.rawBudgets) {
|
||||
if (this.rawBudgets.hasOwnProperty(key) && /^0$|^[1-9]\d*$/.test(key) && key <= 4294967294) {
|
||||
if (this.rawBudgets[key].currency_id === currencyId && this.rawBudgets[key].id === budgetId) {
|
||||
//console.log('found! (' + budgetId + ',' + currencyId + ')');
|
||||
this.rawBudgets.splice(key, 1);
|
||||
}
|
||||
}
|
||||
}
|
||||
console.log('Budgets to display left: ' + this.rawBudgets.length);
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
@@ -39,7 +39,7 @@
|
||||
import DataConverter from "../charts/DataConverter";
|
||||
export default {
|
||||
name: "MainCategory",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/chart/category/overview?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
let chartData = DataConverter.methods.convertChart(response.data);
|
||||
|
174
frontend/src/components/dashboard/MainCategoryList.vue
Normal file
174
frontend/src/components/dashboard/MainCategoryList.vue
Normal file
@@ -0,0 +1,174 @@
|
||||
<!--
|
||||
- MainCategoryList.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.categories') }}</h3>
|
||||
</div>
|
||||
<div class="card-body table-responsive p-0">
|
||||
<table class="table table-sm">
|
||||
<tbody>
|
||||
<tr v-for="category in sortedList">
|
||||
<td style="width:20%;">
|
||||
<a :href="'./categories/show/' + category.id">{{ category.name }}</a>
|
||||
<!--<p>Spent: {{ category.spentPct }}</p>
|
||||
<p>earned: {{ category.earnedPct }}</p>
|
||||
-->
|
||||
</td>
|
||||
<td class="align-middle">
|
||||
<!-- SPENT -->
|
||||
<div class="progress" v-if="category.spentPct > 0">
|
||||
<div class="progress-bar progress-bar-striped bg-danger" role="progressbar" :aria-valuenow="category.spentPct"
|
||||
:style="{ width: category.spentPct + '%'}" aria-valuemin="0"
|
||||
aria-valuemax="100">
|
||||
<span v-if="category.spentPct > 20">
|
||||
{{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}
|
||||
</span>
|
||||
</div>
|
||||
<span v-if="category.spentPct <= 20">
|
||||
{{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.spent) }}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<!-- EARNED -->
|
||||
<div class="progress justify-content-end" v-if="category.earnedPct > 0" title="hello2">
|
||||
<span v-if="category.earnedPct <= 20">
|
||||
{{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}
|
||||
</span>
|
||||
<div class="progress-bar progress-bar-striped bg-success" role="progressbar" :aria-valuenow="category.earnedPct" :style="{ width: category.earnedPct + '%'}" aria-valuemin="0"
|
||||
aria-valuemax="100" title="hello">
|
||||
<span v-if="category.earnedPct > 20">
|
||||
{{ Intl.NumberFormat(locale, {style: 'currency', currency: category.currency_code}).format(category.earned) }}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: "MainCategoryList",
|
||||
|
||||
mounted() {
|
||||
this.locale = localStorage.locale ?? 'en-US';
|
||||
this.getCategories();
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
locale: 'en-US',
|
||||
categories: [],
|
||||
sortedList: [],
|
||||
spent: 0,
|
||||
earned: 0
|
||||
}
|
||||
},
|
||||
methods:
|
||||
{
|
||||
getCategories() {
|
||||
axios.get('./api/v1/categories?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
this.parseCategories(response.data);
|
||||
}
|
||||
);
|
||||
},
|
||||
parseCategories(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];
|
||||
let entryKey = null;
|
||||
let categoryId = parseInt(current.id);
|
||||
|
||||
// loop spent info:
|
||||
for (let subKey in current.attributes.spent) {
|
||||
if (current.attributes.spent.hasOwnProperty(subKey) && /^0$|^[1-9]\d*$/.test(subKey) && subKey <= 4294967294) {
|
||||
let spentData = current.attributes.spent[subKey];
|
||||
entryKey = spentData.currency_id.toString() + '-' + current.id.toString();
|
||||
|
||||
// does the categories list thing have this combo? if not, create it.
|
||||
this.categories[entryKey] = this.categories[entryKey] ??
|
||||
{
|
||||
id: categoryId,
|
||||
name: current.attributes.name,
|
||||
currency_code: spentData.currency_code,
|
||||
currency_symbol: spentData.currency_symbol,
|
||||
spent: 0,
|
||||
earned: 0,
|
||||
spentPct: 0,
|
||||
earnedPct: 0,
|
||||
};
|
||||
this.categories[entryKey].spent = parseFloat(spentData.sum);
|
||||
this.spent = parseFloat(spentData.sum) < this.spent ? parseFloat(spentData.sum) : this.spent;
|
||||
}
|
||||
}
|
||||
|
||||
// loop earned info
|
||||
for (let subKey in current.attributes.earned) {
|
||||
if (current.attributes.earned.hasOwnProperty(subKey) && /^0$|^[1-9]\d*$/.test(subKey) && subKey <= 4294967294) {
|
||||
let earnedData = current.attributes.earned[subKey];
|
||||
entryKey = earnedData.currency_id.toString() + '-' + current.id.toString();
|
||||
|
||||
// does the categories list thing have this combo? if not, create it.
|
||||
this.categories[entryKey] = this.categories[entryKey] ??
|
||||
{
|
||||
id: categoryId,
|
||||
name: current.attributes.name,
|
||||
currency_code: earnedData.currency_code,
|
||||
currency_symbol: earnedData.currency_symbol,
|
||||
spent: 0,
|
||||
earned: 0,
|
||||
spentPct: 0,
|
||||
earnedPct: 0,
|
||||
};
|
||||
this.categories[entryKey].earned = parseFloat(earnedData.sum);
|
||||
this.earned = parseFloat(earnedData.sum) > this.earned ? parseFloat(earnedData.sum) : this.earned;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
this.sortCategories();
|
||||
},
|
||||
sortCategories() {
|
||||
|
||||
this.categories.sort(function (one, two) {
|
||||
return (one.spent + one.earned) - (two.spent + two.earned);
|
||||
});
|
||||
for (let cat in this.categories) {
|
||||
if (this.categories.hasOwnProperty(cat)) {
|
||||
let current = this.categories[cat];
|
||||
current.spentPct = (current.spent / this.spent) * 100;
|
||||
current.earnedPct = (current.earned / this.earned) * 100;
|
||||
this.sortedList.push(current);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
||||
</style>
|
@@ -42,7 +42,7 @@
|
||||
transactions: []
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/transactions?type=deposit&limit=10&start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
this.transactions = response.data.data;
|
||||
|
@@ -41,7 +41,7 @@
|
||||
|
||||
export default {
|
||||
name: "MainDebit",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/chart/account/expense?start=' + window.sessionStart + '&end=' + window.sessionEnd)
|
||||
.then(response => {
|
||||
let chartData = DataConverter.methods.convertChart(response.data);
|
||||
|
@@ -66,7 +66,7 @@
|
||||
<script>
|
||||
export default {
|
||||
name: "MainPiggyList",
|
||||
mounted() {
|
||||
created() {
|
||||
axios.get('./api/v1/piggy_banks')
|
||||
.then(response => {
|
||||
this.loadPiggyBanks(response.data.data);
|
||||
|
@@ -168,7 +168,7 @@ export default {
|
||||
return this.filterOnNotCurrency(this.netWorth);
|
||||
},
|
||||
},
|
||||
mounted() {
|
||||
created() {
|
||||
this.prepareComponent();
|
||||
this.currencyPreference = localStorage.currencyPreference ? JSON.parse(localStorage.currencyPreference) : {};
|
||||
},
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u0421\u043f\u0435\u0441\u0442\u043e\u0432\u043d\u0430 \u0441\u043c\u0435\u0442\u043a\u0430",
|
||||
"account_role_sharedAsset": "\u0421\u043c\u0435\u0442\u043a\u0430 \u0437\u0430 \u0441\u043f\u043e\u0434\u0435\u043b\u0435\u043d\u0438 \u0430\u043a\u0442\u0438\u0432\u0438",
|
||||
"account_role_ccAsset": "\u041a\u0440\u0435\u0434\u0438\u0442\u043d\u0430 \u043a\u0430\u0440\u0442\u0430",
|
||||
"account_role_cashWalletAsset": "\u041f\u0430\u0440\u0438\u0447\u0435\u043d \u043f\u043e\u0440\u0442\u0444\u0435\u0439\u043b"
|
||||
"account_role_cashWalletAsset": "\u041f\u0430\u0440\u0438\u0447\u0435\u043d \u043f\u043e\u0440\u0442\u0444\u0435\u0439\u043b",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u041a\u0430\u0441\u0438\u0447\u043a\u0430",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Spo\u0159ic\u00ed \u00fa\u010det",
|
||||
"account_role_sharedAsset": "Sd\u00edlen\u00fd \u00fa\u010det aktiv",
|
||||
"account_role_ccAsset": "Kreditn\u00ed karta",
|
||||
"account_role_cashWalletAsset": "Pen\u011b\u017eenka"
|
||||
"account_role_cashWalletAsset": "Pen\u011b\u017eenka",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Pokladni\u010dka",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Sparkonto",
|
||||
"account_role_sharedAsset": "Gemeinsames Bestandskonto",
|
||||
"account_role_ccAsset": "Kreditkarte",
|
||||
"account_role_cashWalletAsset": "Geldb\u00f6rse"
|
||||
"account_role_cashWalletAsset": "Geldb\u00f6rse",
|
||||
"daily_budgets": "Tagesbudgets",
|
||||
"weekly_budgets": "Wochenbudgets",
|
||||
"monthly_budgets": "Monatsbudgets",
|
||||
"quarterly_budgets": "Quartalsbudgets",
|
||||
"half_year_budgets": "Halbjahresbudgets",
|
||||
"yearly_budgets": "Jahresbudgets",
|
||||
"other_budgets": "Zeitlich befristete Budgets"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Sparschwein",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u039b\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03b1\u03c0\u03bf\u03c4\u03b1\u03bc\u03af\u03b5\u03c5\u03c3\u03b7\u03c2",
|
||||
"account_role_sharedAsset": "\u039a\u03bf\u03b9\u03bd\u03cc\u03c2 \u03bb\u03bf\u03b3\u03b1\u03c1\u03b9\u03b1\u03c3\u03bc\u03cc\u03c2 \u03ba\u03b5\u03c6\u03b1\u03bb\u03b1\u03af\u03bf\u03c5",
|
||||
"account_role_ccAsset": "\u03a0\u03b9\u03c3\u03c4\u03c9\u03c4\u03b9\u03ba\u03ae \u03ba\u03ac\u03c1\u03c4\u03b1",
|
||||
"account_role_cashWalletAsset": "\u03a0\u03bf\u03c1\u03c4\u03bf\u03c6\u03cc\u03bb\u03b9 \u03bc\u03b5\u03c4\u03c1\u03b7\u03c4\u03ce\u03bd"
|
||||
"account_role_cashWalletAsset": "\u03a0\u03bf\u03c1\u03c4\u03bf\u03c6\u03cc\u03bb\u03b9 \u03bc\u03b5\u03c4\u03c1\u03b7\u03c4\u03ce\u03bd",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u039a\u03bf\u03c5\u03bc\u03c0\u03b1\u03c1\u03ac\u03c2",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Savings account",
|
||||
"account_role_sharedAsset": "Shared asset account",
|
||||
"account_role_ccAsset": "Credit card",
|
||||
"account_role_cashWalletAsset": "Cash wallet"
|
||||
"account_role_cashWalletAsset": "Cash wallet",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Piggy bank",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Savings account",
|
||||
"account_role_sharedAsset": "Shared asset account",
|
||||
"account_role_ccAsset": "Credit card",
|
||||
"account_role_cashWalletAsset": "Cash wallet"
|
||||
"account_role_cashWalletAsset": "Cash wallet",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Piggy bank",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Cuentas de ahorros",
|
||||
"account_role_sharedAsset": "Cuenta de ingresos compartida",
|
||||
"account_role_ccAsset": "Tarjeta de Cr\u00e9dito",
|
||||
"account_role_cashWalletAsset": "Billetera de efectivo"
|
||||
"account_role_cashWalletAsset": "Billetera de efectivo",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Alcancilla",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "S\u00e4\u00e4st\u00f6tili",
|
||||
"account_role_sharedAsset": "Jaettu k\u00e4ytt\u00f6tili",
|
||||
"account_role_ccAsset": "Luottokortti",
|
||||
"account_role_cashWalletAsset": "K\u00e4teinen"
|
||||
"account_role_cashWalletAsset": "K\u00e4teinen",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "S\u00e4\u00e4st\u00f6possu",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Compte d\u2019\u00e9pargne",
|
||||
"account_role_sharedAsset": "Compte d'actif partag\u00e9",
|
||||
"account_role_ccAsset": "Carte de cr\u00e9dit",
|
||||
"account_role_cashWalletAsset": "Porte-monnaie"
|
||||
"account_role_cashWalletAsset": "Porte-monnaie",
|
||||
"daily_budgets": "Budgets quotidiens",
|
||||
"weekly_budgets": "Budgets hebdomadaires",
|
||||
"monthly_budgets": "Budgets mensuels",
|
||||
"quarterly_budgets": "Budgets trimestriels",
|
||||
"half_year_budgets": "Budgets semestriels",
|
||||
"yearly_budgets": "Budgets annuels",
|
||||
"other_budgets": "Budgets \u00e0 p\u00e9riode personnalis\u00e9e"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Tirelire",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Megtakar\u00edt\u00e1si sz\u00e1mla",
|
||||
"account_role_sharedAsset": "Megosztott eszk\u00f6zsz\u00e1mla",
|
||||
"account_role_ccAsset": "Hitelk\u00e1rtya",
|
||||
"account_role_cashWalletAsset": "K\u00e9szp\u00e9nz"
|
||||
"account_role_cashWalletAsset": "K\u00e9szp\u00e9nz",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Malacpersely",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Conto risparmio",
|
||||
"account_role_sharedAsset": "Conto attivit\u00e0 condiviso",
|
||||
"account_role_ccAsset": "Carta di credito",
|
||||
"account_role_cashWalletAsset": "Portafoglio"
|
||||
"account_role_cashWalletAsset": "Portafoglio",
|
||||
"daily_budgets": "Budget giornalieri",
|
||||
"weekly_budgets": "Budget settimanali",
|
||||
"monthly_budgets": "Budget mensili",
|
||||
"quarterly_budgets": "Bilanci trimestrali",
|
||||
"half_year_budgets": "Bilanci semestrali",
|
||||
"yearly_budgets": "Budget annuali",
|
||||
"other_budgets": "Budget a periodi personalizzati"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Salvadanaio",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Sparekonto",
|
||||
"account_role_sharedAsset": "Delt aktivakonto",
|
||||
"account_role_ccAsset": "Kredittkort",
|
||||
"account_role_cashWalletAsset": "Kontant lommebok"
|
||||
"account_role_cashWalletAsset": "Kontant lommebok",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Sparegris",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Spaarrekening",
|
||||
"account_role_sharedAsset": "Gedeelde betaalrekening",
|
||||
"account_role_ccAsset": "Credit card",
|
||||
"account_role_cashWalletAsset": "Cash"
|
||||
"account_role_cashWalletAsset": "Cash",
|
||||
"daily_budgets": "Dagelijkse budgetten",
|
||||
"weekly_budgets": "Wekelijkse budgetten",
|
||||
"monthly_budgets": "Maandelijkse budgetten",
|
||||
"quarterly_budgets": "Driemaandelijkse budgetten",
|
||||
"half_year_budgets": "Halfjaarlijkse budgetten",
|
||||
"yearly_budgets": "Jaarlijkse budgetten",
|
||||
"other_budgets": "Aangepaste budgetten"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Spaarpotje",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Konto oszcz\u0119dno\u015bciowe",
|
||||
"account_role_sharedAsset": "Wsp\u00f3\u0142dzielone konto aktyw\u00f3w",
|
||||
"account_role_ccAsset": "Karta kredytowa",
|
||||
"account_role_cashWalletAsset": "Portfel got\u00f3wkowy"
|
||||
"account_role_cashWalletAsset": "Portfel got\u00f3wkowy",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Skarbonka",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Conta poupan\u00e7a",
|
||||
"account_role_sharedAsset": "Contas de ativos compartilhadas",
|
||||
"account_role_ccAsset": "Cart\u00e3o de cr\u00e9dito",
|
||||
"account_role_cashWalletAsset": "Carteira de dinheiro"
|
||||
"account_role_cashWalletAsset": "Carteira de dinheiro",
|
||||
"daily_budgets": "Or\u00e7amentos di\u00e1rios",
|
||||
"weekly_budgets": "Or\u00e7amentos semanais",
|
||||
"monthly_budgets": "Or\u00e7amentos mensais",
|
||||
"quarterly_budgets": "Or\u00e7amentos trimestrais",
|
||||
"half_year_budgets": "Or\u00e7amentos semestrais",
|
||||
"yearly_budgets": "Or\u00e7amentos anuais",
|
||||
"other_budgets": "Custom timed budgets"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Cofrinho",
|
||||
|
@@ -25,16 +25,23 @@
|
||||
"go_to_bills": "Mergi la facturi",
|
||||
"bills": "Facturi",
|
||||
"go_to_piggies": "Mergi la pu\u0219culi\u021b\u0103",
|
||||
"saved": "Saved",
|
||||
"saved": "Salvat",
|
||||
"piggy_banks": "Pu\u0219culi\u021b\u0103",
|
||||
"piggy_bank": "Pu\u0219culi\u021b\u0103",
|
||||
"amounts": "Amounts",
|
||||
"Default asset account": "Ccont de active implicit",
|
||||
"Default asset account": "Cont de active implicit",
|
||||
"account_role_defaultAsset": "Contul implicit activ",
|
||||
"account_role_savingAsset": "Cont de economii",
|
||||
"account_role_sharedAsset": "Contul de active partajat",
|
||||
"account_role_ccAsset": "Card de credit",
|
||||
"account_role_cashWalletAsset": "Cash - Numerar"
|
||||
"account_role_cashWalletAsset": "Cash - Numerar",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Pu\u0219culi\u021b\u0103",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u0421\u0431\u0435\u0440\u0435\u0433\u0430\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u0441\u0447\u0435\u0442",
|
||||
"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"
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u041a\u043e\u043f\u0438\u043b\u043a\u0430",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u0160etriaci \u00fa\u010det",
|
||||
"account_role_sharedAsset": "Zdie\u013ean\u00fd \u00fa\u010det akt\u00edv",
|
||||
"account_role_ccAsset": "Kreditn\u00e1 karta",
|
||||
"account_role_cashWalletAsset": "Pe\u0148a\u017eenka"
|
||||
"account_role_cashWalletAsset": "Pe\u0148a\u017eenka",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Pokladni\u010dka",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "Sparkonto",
|
||||
"account_role_sharedAsset": "Delat tillg\u00e5ngskonto",
|
||||
"account_role_ccAsset": "Kreditkort",
|
||||
"account_role_cashWalletAsset": "Pl\u00e5nbok"
|
||||
"account_role_cashWalletAsset": "Pl\u00e5nbok",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "Spargris",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "T\u00e0i kho\u1ea3n ti\u1ebft ki\u1ec7m",
|
||||
"account_role_sharedAsset": "t\u00e0i kho\u1ea3n d\u00f9ng chung",
|
||||
"account_role_ccAsset": "Th\u1ebb t\u00edn d\u1ee5ng",
|
||||
"account_role_cashWalletAsset": "V\u00ed ti\u1ec1n m\u1eb7t"
|
||||
"account_role_cashWalletAsset": "V\u00ed ti\u1ec1n m\u1eb7t",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u1ed0ng heo con",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u50a8\u84c4\u5e10\u6237",
|
||||
"account_role_sharedAsset": "\u5171\u7528\u8d44\u4ea7\u5e10\u6237",
|
||||
"account_role_ccAsset": "\u4fe1\u7528\u5361",
|
||||
"account_role_cashWalletAsset": "\u73b0\u91d1\u94b1\u5305"
|
||||
"account_role_cashWalletAsset": "\u73b0\u91d1\u94b1\u5305",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u5b58\u94b1\u7f50",
|
||||
|
@@ -34,7 +34,14 @@
|
||||
"account_role_savingAsset": "\u5132\u84c4\u5e33\u6236",
|
||||
"account_role_sharedAsset": "\u5171\u7528\u8cc7\u7522\u5e33\u6236",
|
||||
"account_role_ccAsset": "\u4fe1\u7528\u5361",
|
||||
"account_role_cashWalletAsset": "\u73fe\u91d1\u9322\u5305"
|
||||
"account_role_cashWalletAsset": "\u73fe\u91d1\u9322\u5305",
|
||||
"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"
|
||||
},
|
||||
"list": {
|
||||
"piggy_bank": "\u5c0f\u8c6c\u64b2\u6eff",
|
||||
|
12
frontend/src/pages/dashboard.js
vendored
12
frontend/src/pages/dashboard.js
vendored
@@ -23,9 +23,7 @@ import TopBoxes from "../components/dashboard/TopBoxes";
|
||||
import MainAccount from "../components/dashboard/MainAccount";
|
||||
import MainAccountList from "../components/dashboard/MainAccountList";
|
||||
import MainBillsList from "../components/dashboard/MainBillsList";
|
||||
import MainBudget from "../components/dashboard/MainBudget";
|
||||
import MainBudgetList from "../components/dashboard/MainBudgetList";
|
||||
import MainCategory from "../components/dashboard/MainCategory";
|
||||
import MainCredit from "../components/dashboard/MainCredit";
|
||||
import MainDebit from "../components/dashboard/MainDebit";
|
||||
import MainPiggyList from "../components/dashboard/MainPiggyList";
|
||||
@@ -34,6 +32,7 @@ import TransactionListMedium from "../components/transactions/TransactionListMed
|
||||
import TransactionListSmall from "../components/transactions/TransactionListSmall";
|
||||
import DatePicker from 'v-calendar/lib/components/date-picker.umd'
|
||||
import Calendar from "../components/dashboard/Calendar";
|
||||
import MainCategoryList from "../components/dashboard/MainCategoryList";
|
||||
/**
|
||||
* First we will load Axios via bootstrap.js
|
||||
* jquery and bootstrap-sass preloaded in app.js
|
||||
@@ -42,6 +41,7 @@ import Calendar from "../components/dashboard/Calendar";
|
||||
|
||||
require('../bootstrap');
|
||||
require('chart.js');
|
||||
Vue.config.devtools = false;
|
||||
|
||||
Vue.component('transaction-list-large', TransactionListLarge);
|
||||
Vue.component('transaction-list-medium', TransactionListMedium);
|
||||
@@ -54,9 +54,8 @@ Vue.component('top-boxes', TopBoxes);
|
||||
Vue.component('main-account', MainAccount);
|
||||
Vue.component('main-account-list', MainAccountList);
|
||||
Vue.component('main-bills-list', MainBillsList);
|
||||
Vue.component('main-budget', MainBudget);
|
||||
Vue.component('main-budget-list', MainBudgetList);
|
||||
Vue.component('main-category', MainCategory);
|
||||
Vue.component('main-category-list', MainCategoryList);
|
||||
Vue.component('main-credit', MainCredit);
|
||||
Vue.component('main-debit', MainDebit);
|
||||
Vue.component('main-piggy-list', MainPiggyList);
|
||||
@@ -66,11 +65,12 @@ let i18n = require('../i18n');
|
||||
|
||||
|
||||
let props = {};
|
||||
|
||||
new Vue({
|
||||
i18n,
|
||||
el: "#dashboard",
|
||||
render: (createElement) => {
|
||||
return createElement(Dashboard, { props: props });
|
||||
return createElement(Dashboard, {props: props});
|
||||
},
|
||||
});
|
||||
|
||||
@@ -78,6 +78,6 @@ new Vue({
|
||||
i18n,
|
||||
el: "#calendar",
|
||||
render: (createElement) => {
|
||||
return createElement(Calendar, { props: props });
|
||||
return createElement(Calendar, {props: props});
|
||||
},
|
||||
});
|
@@ -6392,20 +6392,20 @@ string-width@^4.1.0, string-width@^4.2.0:
|
||||
strip-ansi "^6.0.0"
|
||||
|
||||
string.prototype.trimend@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.2.tgz#6ddd9a8796bc714b489a3ae22246a208f37bfa46"
|
||||
integrity sha512-8oAG/hi14Z4nOVP0z6mdiVZ/wqjDtWSLygMigTzAb+7aPEDTleeFf+WrF+alzecxIRkckkJVn+dTlwzJXORATw==
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimend/-/string.prototype.trimend-1.0.3.tgz#a22bd53cca5c7cf44d7c9d5c732118873d6cd18b"
|
||||
integrity sha512-ayH0pB+uf0U28CtjlLvL7NaohvR1amUvVZk+y3DYb0Ey2PUV5zPkkKy9+U1ndVEIXO8hNg18eIv9Jntbii+dKw==
|
||||
dependencies:
|
||||
call-bind "^1.0.0"
|
||||
define-properties "^1.1.3"
|
||||
es-abstract "^1.18.0-next.1"
|
||||
|
||||
string.prototype.trimstart@^1.0.1:
|
||||
version "1.0.2"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.2.tgz#22d45da81015309cd0cdd79787e8919fc5c613e7"
|
||||
integrity sha512-7F6CdBTl5zyu30BJFdzSTlSlLPwODC23Od+iLoVH8X6+3fvDPPuBVVj9iaB1GOsSTSIgVfsfm27R2FGrAPznWg==
|
||||
version "1.0.3"
|
||||
resolved "https://registry.yarnpkg.com/string.prototype.trimstart/-/string.prototype.trimstart-1.0.3.tgz#9b4cb590e123bb36564401d59824298de50fd5aa"
|
||||
integrity sha512-oBIBUy5lea5tt0ovtOFiEQaBkoBBkyJhZXzJYrSmDo5IUUqbOPvVezuRs/agBIdZ2p2Eo1FD6bD9USyBLfl3xg==
|
||||
dependencies:
|
||||
call-bind "^1.0.0"
|
||||
define-properties "^1.1.3"
|
||||
es-abstract "^1.18.0-next.1"
|
||||
|
||||
string_decoder@^1.0.0, string_decoder@^1.1.1:
|
||||
version "1.3.0"
|
||||
|
2
public/v2/js/accounts/index.js
vendored
2
public/v2/js/accounts/index.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{231:function(t,s,a){t.exports=a(239)},239:function(t,s,a){"use strict";a.r(s);var e={name:"Index",props:{accountTypes:String},data:function(){return{accounts:[]}},mounted:function(){var t=this;console.log("mounted account list."),axios.get("./api/v1/accounts?type="+this.$props.accountTypes).then((function(s){t.loadAccounts(s.data.data)}))},methods:{loadAccounts:function(t){for(var s in t)if(t.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var a=t[s];"asset"===a.attributes.type&&null!==a.attributes.account_role&&(a.attributes.account_role=this.$t("firefly.account_role_"+a.attributes.account_role)),"asset"===a.attributes.type&&null===a.attributes.account_role&&(a.attributes.account_role=this.$t("firefly.Default asset account")),null===a.attributes.iban&&(a.attributes.iban=a.attributes.account_number),this.accounts.push(a)}}}},c=a(1),n=Object(c.a)(e,(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[t._m(0),t._v(" "),a("div",{staticClass:"card-body p-0"},[a("table",{staticClass:"table table-sm table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(" ")]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),"asset"===t.$props.accountTypes?a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.role")))]):t._e(),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.iban")))]),t._v(" "),a("th",{staticStyle:{"text-align":"right"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.currentBalance")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.balanceDiff")))])])]),t._v(" "),a("tbody",t._l(t.accounts,(function(s){return a("tr",[a("td",[a("div",{staticClass:"btn-group btn-group-xs"},[a("a",{staticClass:"btn btn-xs btn-default",attrs:{href:"./accounts/edit/"+s.id}},[a("i",{staticClass:"fa fas fa-pencil-alt"})]),t._v(" "),a("a",{staticClass:"btn btn-xs btn-danger",attrs:{href:"./accounts/delete/"+s.id}},[a("i",{staticClass:"fa far fa-trash"})])])]),t._v(" "),a("td",[t._v(t._s(s.attributes.name)+"\n ")]),t._v(" "),"asset"===t.$props.accountTypes?a("td",[t._v("\n "+t._s(s.attributes.account_role)+"\n ")]):t._e(),t._v(" "),a("td",[t._v("\n "+t._s(s.attributes.iban)+"\n ")]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},[t._v("\n "+t._s(Intl.NumberFormat("en-US",{style:"currency",currency:s.attributes.currency_code}).format(s.attributes.current_balance))+"\n ")]),t._v(" "),a("td",[t._v("diff")])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[t._v("\n Footer stuff.\n ")])])])])}),[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[this._v("Title thing")]),this._v(" "),s("div",{staticClass:"card-tools"},[s("div",{staticClass:"input-group input-group-sm",staticStyle:{width:"150px"}},[s("input",{staticClass:"form-control float-right",attrs:{type:"text",name:"table_search",placeholder:"Search"}}),this._v(" "),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[s("i",{staticClass:"fas fa-search"})])])])])])}],!1,null,"6213c64d",null).exports;a(5);var i=a(9),r={};new Vue({i18n:i,render:function(t){return t(n,{props:r})}}).$mount("#accounts")}},[[231,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[2],{228:function(t,s,a){t.exports=a(237)},237:function(t,s,a){"use strict";a.r(s);var e={name:"Index",props:{accountTypes:String},data:function(){return{accounts:[]}},created:function(){var t=this;console.log("mounted account list."),axios.get("./api/v1/accounts?type="+this.$props.accountTypes).then((function(s){t.loadAccounts(s.data.data)}))},methods:{loadAccounts:function(t){for(var s in t)if(t.hasOwnProperty(s)&&/^0$|^[1-9]\d*$/.test(s)&&s<=4294967294){var a=t[s];"asset"===a.attributes.type&&null!==a.attributes.account_role&&(a.attributes.account_role=this.$t("firefly.account_role_"+a.attributes.account_role)),"asset"===a.attributes.type&&null===a.attributes.account_role&&(a.attributes.account_role=this.$t("firefly.Default asset account")),null===a.attributes.iban&&(a.attributes.iban=a.attributes.account_number),this.accounts.push(a)}}}},c=a(1),n=Object(c.a)(e,(function(){var t=this,s=t.$createElement,a=t._self._c||s;return a("div",{staticClass:"row"},[a("div",{staticClass:"col-lg-12 col-md-12 col-sm-12 col-xs-12"},[a("div",{staticClass:"card"},[t._m(0),t._v(" "),a("div",{staticClass:"card-body p-0"},[a("table",{staticClass:"table table-sm table-striped"},[a("caption",{staticStyle:{display:"none"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),a("thead",[a("tr",[a("th",{attrs:{scope:"col"}},[t._v(" ")]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.name")))]),t._v(" "),"asset"===t.$props.accountTypes?a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.role")))]):t._e(),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.iban")))]),t._v(" "),a("th",{staticStyle:{"text-align":"right"},attrs:{scope:"col"}},[t._v(t._s(t.$t("list.currentBalance")))]),t._v(" "),a("th",{attrs:{scope:"col"}},[t._v(t._s(t.$t("list.balanceDiff")))])])]),t._v(" "),a("tbody",t._l(t.accounts,(function(s){return a("tr",[a("td",[a("div",{staticClass:"btn-group btn-group-xs"},[a("a",{staticClass:"btn btn-xs btn-default",attrs:{href:"./accounts/edit/"+s.id}},[a("i",{staticClass:"fa fas fa-pencil-alt"})]),t._v(" "),a("a",{staticClass:"btn btn-xs btn-danger",attrs:{href:"./accounts/delete/"+s.id}},[a("i",{staticClass:"fa far fa-trash"})])])]),t._v(" "),a("td",[t._v(t._s(s.attributes.name)+"\n ")]),t._v(" "),"asset"===t.$props.accountTypes?a("td",[t._v("\n "+t._s(s.attributes.account_role)+"\n ")]):t._e(),t._v(" "),a("td",[t._v("\n "+t._s(s.attributes.iban)+"\n ")]),t._v(" "),a("td",{staticStyle:{"text-align":"right"}},[t._v("\n "+t._s(Intl.NumberFormat("en-US",{style:"currency",currency:s.attributes.currency_code}).format(s.attributes.current_balance))+"\n ")]),t._v(" "),a("td",[t._v("diff")])])})),0)])]),t._v(" "),a("div",{staticClass:"card-footer"},[t._v("\n Footer stuff.\n ")])])])])}),[function(){var t=this.$createElement,s=this._self._c||t;return s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[this._v("Title thing")]),this._v(" "),s("div",{staticClass:"card-tools"},[s("div",{staticClass:"input-group input-group-sm",staticStyle:{width:"150px"}},[s("input",{staticClass:"form-control float-right",attrs:{type:"text",name:"table_search",placeholder:"Search"}}),this._v(" "),s("div",{staticClass:"input-group-append"},[s("button",{staticClass:"btn btn-default",attrs:{type:"submit"}},[s("i",{staticClass:"fas fa-search"})])])])])])}],!1,null,"0bf47abd",null).exports;a(5);var i=a(9),r={};new Vue({i18n:i,render:function(t){return t(n,{props:r})}}).$mount("#accounts")}},[[228,0,1]]]);
|
||||
//# sourceMappingURL=index.js.map
|
File diff suppressed because one or more lines are too long
2
public/v2/js/accounts/show.js
vendored
2
public/v2/js/accounts/show.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{232:function(n,e,t){n.exports=t(240)},240:function(n,e,t){"use strict";t.r(e);var o={name:"Show"},r=t(1),s=Object(r.a)(o,(function(){var n=this.$createElement;return(this._self._c||n)("div",[this._v("\n I am a show\n")])}),[],!1,null,"dcd61a50",null).exports;t(5);var c=t(9),u={};new Vue({i18n:c,render:function(n){return n(s,{props:u})}}).$mount("#accounts_show")}},[[232,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[3],{229:function(n,e,t){n.exports=t(238)},238:function(n,e,t){"use strict";t.r(e);var o={name:"Show"},r=t(1),s=Object(r.a)(o,(function(){var n=this.$createElement;return(this._self._c||n)("div",[this._v("\n I am a show\n")])}),[],!1,null,"dcd61a50",null).exports;t(5);var c=t(9),u={};new Vue({i18n:c,render:function(n){return n(s,{props:u})}}).$mount("#accounts_show")}},[[229,0,1]]]);
|
||||
//# sourceMappingURL=show.js.map
|
2
public/v2/js/dashboard.js
vendored
2
public/v2/js/dashboard.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
2
public/v2/js/empty.js
vendored
2
public/v2/js/empty.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{228:function(n,o,p){n.exports=p(229)},229:function(n,o,p){"use strict";p.r(o);p(11),p(13),p(12),p(14),p(15),p(16),p(17),p(18),p(19),p(20),p(21),p(22),p(23);p(5)}},[[228,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{226:function(t,a,e){t.exports=e(235)},235:function(t,a,e){"use strict";e.r(a);e(11),e(13),e(12),e(14),e(15);var s=e(6),i=e(3),n={name:"MainBudget",created:function(){axios.get("./api/v1/chart/budget/overview?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(t){var a=i.a.methods.convertChart(t.data),e=$("#mainBudgetChart").get(0).getContext("2d");new Chart(e,{type:"bar",data:a,options:s.a.methods.getDefaultOptions()})}))}},r=e(1),o=(Object(r.a)(n,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.budgets")))])]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"card-footer"},[e("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./budgets"}},[e("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_budgets")))])])])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"card-body"},[a("div",{staticStyle:{position:"relative"}},[a("canvas",{staticStyle:{"min-height":"400px",height:"400px","max-height":"400px","max-width":"100%"},attrs:{id:"mainBudgetChart"}})])])}],!1,null,"0cdbd746",null).exports,{name:"MainCategory",created:function(){axios.get("./api/v1/chart/category/overview?start="+window.sessionStart+"&end="+window.sessionEnd).then((function(t){var a=i.a.methods.convertChart(t.data);a=i.a.methods.colorizeLineData(a);var e=$("#mainCategoryChart").get(0).getContext("2d");new Chart(e,{type:"bar",data:a,options:s.a.methods.getDefaultOptions()})}))}});Object(r.a)(o,(function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("div",{staticClass:"card"},[e("div",{staticClass:"card-header"},[e("h3",{staticClass:"card-title"},[t._v(t._s(t.$t("firefly.categories")))])]),t._v(" "),t._m(0),t._v(" "),e("div",{staticClass:"card-footer"},[e("a",{staticClass:"btn btn-default button-sm",attrs:{href:"./categories"}},[e("i",{staticClass:"far fa-money-bill-alt"}),t._v(" "+t._s(t.$t("firefly.go_to_categories")))])])])}),[function(){var t=this.$createElement,a=this._self._c||t;return a("div",{staticClass:"card-body"},[a("div",[a("canvas",{staticStyle:{"min-height":"400px",height:"400px","max-height":"400px","max-width":"100%"},attrs:{id:"mainCategoryChart"}})])])}],!1,null,"723499a4",null).exports,e(16),e(17),e(18),e(19),e(20),e(21);e(5)}},[[226,0,1]]]);
|
||||
//# sourceMappingURL=empty.js.map
|
File diff suppressed because one or more lines are too long
2
public/v2/js/new-user/index.js
vendored
2
public/v2/js/new-user/index.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{230:function(a,e,t){a.exports=t(238)},238:function(a,e,t){"use strict";t.r(e);var s={name:"Index"},n=t(1),i=Object(n.a)(s,(function(){var a=this.$createElement;this._self._c;return this._m(0)}),[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"row"},[t("div",{staticClass:"col"},[t("div",{attrs:{id:"accordion"}},[t("div",{staticClass:"card card-primary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseOne"}},[a._v("\n Create new accounts\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse show",attrs:{id:"collapseOne"}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col"},[t("p",[a._v("Explain")])])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-lg-4"},[a._v("\n A\n ")]),a._v(" "),t("div",{staticClass:"col-lg-8"},[a._v("\n B\n ")])])])])]),a._v(" "),t("div",{staticClass:"card card-secondary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseTwo"}},[a._v("\n Collapsible Group Danger\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseTwo"}},[t("div",{staticClass:"card-body"},[a._v("\n Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.\n 3\n wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt\n laborum\n eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee\n nulla\n assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred\n nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft\n beer\n farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus\n labore sustainable VHS.\n ")])])]),a._v(" "),t("div",{staticClass:"card card-secondary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseThree"}},[a._v("\n Collapsible Group Success\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseThree"}},[t("div",{staticClass:"card-body"},[a._v("\n Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.\n 3\n wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt\n laborum\n eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee\n nulla\n assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred\n nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft\n beer\n farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus\n labore sustainable VHS.\n ")])])])])])])}],!1,null,"5c520d02",null).exports;t(5);var c=t(9),r={};new Vue({i18n:c,render:function(a){return a(i,{props:r})}}).$mount("#newuser")}},[[230,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{227:function(a,e,t){a.exports=t(236)},236:function(a,e,t){"use strict";t.r(e);var s={name:"Index"},n=t(1),i=Object(n.a)(s,(function(){var a=this.$createElement;this._self._c;return this._m(0)}),[function(){var a=this,e=a.$createElement,t=a._self._c||e;return t("div",{staticClass:"row"},[t("div",{staticClass:"col"},[t("div",{attrs:{id:"accordion"}},[t("div",{staticClass:"card card-primary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseOne"}},[a._v("\n Create new accounts\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse show",attrs:{id:"collapseOne"}},[t("div",{staticClass:"card-body"},[t("div",{staticClass:"row"},[t("div",{staticClass:"col"},[t("p",[a._v("Explain")])])]),a._v(" "),t("div",{staticClass:"row"},[t("div",{staticClass:"col-lg-4"},[a._v("\n A\n ")]),a._v(" "),t("div",{staticClass:"col-lg-8"},[a._v("\n B\n ")])])])])]),a._v(" "),t("div",{staticClass:"card card-secondary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseTwo"}},[a._v("\n Collapsible Group Danger\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseTwo"}},[t("div",{staticClass:"card-body"},[a._v("\n Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.\n 3\n wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt\n laborum\n eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee\n nulla\n assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred\n nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft\n beer\n farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus\n labore sustainable VHS.\n ")])])]),a._v(" "),t("div",{staticClass:"card card-secondary"},[t("div",{staticClass:"card-header"},[t("h4",{staticClass:"card-title"},[t("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseThree"}},[a._v("\n Collapsible Group Success\n ")])])]),a._v(" "),t("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseThree"}},[t("div",{staticClass:"card-body"},[a._v("\n Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid.\n 3\n wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt\n laborum\n eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee\n nulla\n assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred\n nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft\n beer\n farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus\n labore sustainable VHS.\n ")])])])])])])}],!1,null,"5c520d02",null).exports;t(5);var c=t(9),r={};new Vue({i18n:c,render:function(a){return a(i,{props:r})}}).$mount("#newuser")}},[[227,0,1]]]);
|
||||
//# sourceMappingURL=index.js.map
|
2
public/v2/js/register.js
vendored
2
public/v2/js/register.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{234:function(n,o,w){n.exports=w(235)},235:function(n,o,w){w(236)},236:function(n,o,w){window.$=window.jQuery=w(8)}},[[234,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{231:function(n,o,w){n.exports=w(232)},232:function(n,o,w){w(233)},233:function(n,o,w){window.$=window.jQuery=w(8)}},[[231,0,1]]]);
|
||||
//# sourceMappingURL=register.js.map
|
2
public/v2/js/transactions/create.js
vendored
2
public/v2/js/transactions/create.js
vendored
@@ -1,2 +1,2 @@
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{233:function(a,t,s){a.exports=s(241)},241:function(a,t,s){"use strict";s.r(t);var c={name:"Create"},i=s(1),e=Object(i.a)(c,(function(){var a=this.$createElement;this._self._c;return this._m(0)}),[function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[a._v("Create a new transaction")])]),a._v(" "),s("div",{staticClass:"card-body"},[s("div",{attrs:{id:"accordion"}},[s("div",{staticClass:"card card-primary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseOne","aria-expanded":"true"}},[a._v("\n Basic transaction information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse in collapse show",attrs:{id:"collapseOne"}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[a._v("From")]),a._v(" "),s("div",{staticClass:"col"},[a._v("To")])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[a._v("\n Amount, foreign amount, description, time + date\n\n ")])])])])]),a._v(" "),s("div",{staticClass:"card card-secondary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseTwo","aria-expanded":"false"}},[a._v("\n Meta information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseTwo"}},[s("div",{staticClass:"card-body"},[a._v("\n Budget, category, bill, tags, contract\n ")])])]),a._v(" "),s("div",{staticClass:"card card-secondary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseThree","aria-expanded":"false"}},[a._v("\n Extra information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseThree"}},[s("div",{staticClass:"card-body"},[a._v("\n Notes, transaction links, custom fields.\n ")])])])])])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[s("a",{staticClass:"btn btn-primary",attrs:{href:"#"}},[a._v("Add a split")])]),a._v(" "),s("div",{staticClass:"col"},[s("p",{staticClass:"float-right"},[s("a",{staticClass:"btn btn-success",attrs:{href:"#"}},[a._v("Store transaction")]),s("br")])])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col float-right"},[s("p",{staticClass:"text-right"},[s("small",{staticClass:"text-muted"},[a._v("Create another another another "),s("input",{attrs:{type:"checkbox"}})]),s("br"),a._v(" "),s("small",{staticClass:"text-muted"},[a._v("Return here "),s("input",{attrs:{type:"checkbox"}})]),s("br")])])])])])}],!1,null,"b9e6341e",null).exports;s(5);var r=s(9),l={};new Vue({i18n:r,render:function(a){return a(e,{props:l})}}).$mount("#transactions_create")}},[[233,0,1]]]);
|
||||
(window.webpackJsonp=window.webpackJsonp||[]).push([[8],{230:function(a,t,s){a.exports=s(239)},239:function(a,t,s){"use strict";s.r(t);var c={name:"Create"},i=s(1),e=Object(i.a)(c,(function(){var a=this.$createElement;this._self._c;return this._m(0)}),[function(){var a=this,t=a.$createElement,s=a._self._c||t;return s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[s("div",{staticClass:"card"},[s("div",{staticClass:"card-header"},[s("h3",{staticClass:"card-title"},[a._v("Create a new transaction")])]),a._v(" "),s("div",{staticClass:"card-body"},[s("div",{attrs:{id:"accordion"}},[s("div",{staticClass:"card card-primary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseOne","aria-expanded":"true"}},[a._v("\n Basic transaction information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse in collapse show",attrs:{id:"collapseOne"}},[s("div",{staticClass:"card-body"},[s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[a._v("From")]),a._v(" "),s("div",{staticClass:"col"},[a._v("To")])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[a._v("\n Amount, foreign amount, description, time + date\n\n ")])])])])]),a._v(" "),s("div",{staticClass:"card card-secondary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseTwo","aria-expanded":"false"}},[a._v("\n Meta information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseTwo"}},[s("div",{staticClass:"card-body"},[a._v("\n Budget, category, bill, tags, contract\n ")])])]),a._v(" "),s("div",{staticClass:"card card-secondary"},[s("div",{staticClass:"card-header"},[s("h4",{staticClass:"card-title"},[s("a",{staticClass:"collapsed",attrs:{"data-toggle":"collapse","data-parent":"#accordion",href:"#collapseThree","aria-expanded":"false"}},[a._v("\n Extra information\n ")])])]),a._v(" "),s("div",{staticClass:"panel-collapse collapse",attrs:{id:"collapseThree"}},[s("div",{staticClass:"card-body"},[a._v("\n Notes, transaction links, custom fields.\n ")])])])])])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col"},[s("a",{staticClass:"btn btn-primary",attrs:{href:"#"}},[a._v("Add a split")])]),a._v(" "),s("div",{staticClass:"col"},[s("p",{staticClass:"float-right"},[s("a",{staticClass:"btn btn-success",attrs:{href:"#"}},[a._v("Store transaction")]),s("br")])])]),a._v(" "),s("div",{staticClass:"row"},[s("div",{staticClass:"col float-right"},[s("p",{staticClass:"text-right"},[s("small",{staticClass:"text-muted"},[a._v("Create another another another "),s("input",{attrs:{type:"checkbox"}})]),s("br"),a._v(" "),s("small",{staticClass:"text-muted"},[a._v("Return here "),s("input",{attrs:{type:"checkbox"}})]),s("br")])])])])])}],!1,null,"b9e6341e",null).exports;s(5);var r=s(9),l={};new Vue({i18n:r,render:function(a){return a(e,{props:l})}}).$mount("#transactions_create")}},[[230,0,1]]]);
|
||||
//# sourceMappingURL=create.js.map
|
2
public/v2/js/vendor.js
vendored
2
public/v2/js/vendor.js
vendored
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -5,7 +5,7 @@
|
||||
"flash_success": "\u00a1Operaci\u00f3n correcta!",
|
||||
"close": "Cerrar",
|
||||
"split_transaction_title": "Descripci\u00f3n de la transacci\u00f3n dividida",
|
||||
"errors_submission": "There was something wrong with your submission. Please check out the errors.",
|
||||
"errors_submission": "Hubo un problema con su env\u00edo. Por favor, compruebe los errores.",
|
||||
"split": "Separar",
|
||||
"single_split": "Divisi\u00f3n",
|
||||
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">La transacci\u00f3n #{ID} (\"{title}\")<\/a> ha sido almacenada.",
|
||||
|
@@ -7,13 +7,13 @@
|
||||
"split_transaction_title": "Descrierea tranzac\u021biei divizate",
|
||||
"errors_submission": "There was something wrong with your submission. Please check out the errors.",
|
||||
"split": "\u00cemparte",
|
||||
"single_split": "Split",
|
||||
"single_split": "\u00cemparte",
|
||||
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">Tranzac\u021bia #{ID} (\"{title}\")<\/a> a fost stocat\u0103.",
|
||||
"transaction_updated_link": "<a href=\"transactions\/show\/{ID}\">Tranzac\u021bia #{ID}<\/a> a fost actualizat\u0103.",
|
||||
"transaction_new_stored_link": "<a href=\"transactions\/show\/{ID}\">Tranzac\u021bia #{ID}<\/a> a fost stocat\u0103.",
|
||||
"transaction_journal_information": "Informa\u021bii despre tranzac\u021bii",
|
||||
"no_budget_pointer": "You seem to have no budgets yet. You should create some on the <a href=\"budgets\">budgets<\/a>-page. Budgets can help you keep track of expenses.",
|
||||
"no_bill_pointer": "You seem to have no bills yet. You should create some on the <a href=\"bills\">bills<\/a>-page. Bills can help you keep track of expenses.",
|
||||
"no_budget_pointer": "Se pare c\u0103 nu ave\u021bi \u00eenc\u0103 bugete. Ar trebui s\u0103 crea\u021bi c\u00e2teva pe pagina <a href=\"\/budgets\">bugete<\/a>. Bugetele v\u0103 pot ajuta s\u0103 \u021bine\u021bi eviden\u021ba cheltuielilor.",
|
||||
"no_bill_pointer": "Se pare c\u0103 nu ave\u021bi \u00eenc\u0103 facturi. Ar trebui s\u0103 crea\u021bi unele pe pagina <a href=\"bills\">facturi<\/a>. Facturile v\u0103 pot ajuta s\u0103 \u021bine\u021bi eviden\u021ba cheltuielilor.",
|
||||
"source_account": "Contul surs\u0103",
|
||||
"hidden_fields_preferences": "You can enable more transaction options in your <a href=\"preferences\">preferences<\/a>.",
|
||||
"destination_account": "Contul de destina\u021bie",
|
||||
|
@@ -5,7 +5,7 @@
|
||||
"flash_success": "Hotovo!",
|
||||
"close": "Zavrie\u0165",
|
||||
"split_transaction_title": "Popis roz\u00fa\u010dtovania",
|
||||
"errors_submission": "There was something wrong with your submission. Please check out the errors.",
|
||||
"errors_submission": "Pri odosielan\u00ed sa nie\u010do nepodarilo. Skontrolujte pros\u00edm chyby.",
|
||||
"split": "Roz\u00fa\u010dtova\u0165",
|
||||
"single_split": "Roz\u00fa\u010dtova\u0165",
|
||||
"transaction_stored_link": "<a href=\"transactions\/show\/{ID}\">Transakcia #{ID} (\"{title}\")<\/a> bola ulo\u017een\u00e1.",
|
||||
|
Reference in New Issue
Block a user