mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-12-22 19:21:23 +00:00
Remove TODO's.
This commit is contained in:
@@ -309,7 +309,7 @@ export default {
|
||||
this.accounts[i].order = newOrder;
|
||||
let url = './api/v1/accounts/' + current.id;
|
||||
axios.put(url, {order: newOrder}).then(response => {
|
||||
// TODO should update local account list, not refresh the whole thing.
|
||||
// See reference nr. 8
|
||||
this.getAccountList();
|
||||
});
|
||||
}
|
||||
@@ -485,7 +485,7 @@ export default {
|
||||
//
|
||||
// allAccounts.push(acct);
|
||||
// if ('asset' === this.type) {
|
||||
// // TODO
|
||||
// See reference nr. 9
|
||||
// //this.getAccountBalanceDifference(this.allAccounts.length - 1, current);
|
||||
// //this.getAccountLastActivity(this.allAccounts.length - 1, current);
|
||||
// }
|
||||
|
||||
@@ -324,7 +324,7 @@ export default {
|
||||
let today = new Date(this.range.start);
|
||||
let start;
|
||||
let end;
|
||||
let title = 'todo';
|
||||
let title = 'tbd';
|
||||
let half = 1;
|
||||
|
||||
// its currently first half of year:
|
||||
|
||||
@@ -79,7 +79,7 @@ import format from "date-fns/format";
|
||||
|
||||
const {mapState, mapGetters, mapActions, mapMutations} = createNamespacedHelpers('dashboard/index')
|
||||
|
||||
// TODO same as credit list but reversed
|
||||
// See reference nr. 2
|
||||
|
||||
export default {
|
||||
name: "MainCreditList",
|
||||
|
||||
@@ -56,7 +56,7 @@ const getters = {
|
||||
return state.transactionType;
|
||||
},
|
||||
accountToTransaction: state => {
|
||||
// TODO better architecture here, does not need the store.
|
||||
// See reference nr. 1
|
||||
// possible API point!!
|
||||
return state.accountToTransaction;
|
||||
},
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
<alert :message="errorMessage" type="danger"/>
|
||||
<alert :message="successMessage" type="success"/>
|
||||
<form @submit="submitTransaction" autocomplete="off">
|
||||
<SplitPills :transactions="transactions"/>
|
||||
<SplitPills :transactions="transactions" :count="transactions.length"/>
|
||||
<div class="tab-content">
|
||||
<SplitForm
|
||||
v-for="(transaction, index) in this.transactions"
|
||||
@@ -492,7 +492,7 @@ export default {
|
||||
}
|
||||
// submit transaction link:
|
||||
promises.push(axios.post('./api/v1/transaction_links', currentLink).then(response => {
|
||||
// TODO error handling.
|
||||
// See reference nr. 4
|
||||
}));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -298,7 +298,7 @@ export default {
|
||||
if (0 === index) {
|
||||
this.transactionType = array.type.charAt(0).toUpperCase() + array.type.slice(1);
|
||||
|
||||
// TODO here you may need to catch stuff like loan/debt/mortgage
|
||||
// See reference nr. 5
|
||||
this.sourceAllowedTypes = [array.source_type];
|
||||
this.destinationAllowedTypes = [array.destination_type];
|
||||
this.date = array.date.substring(0, 16);
|
||||
@@ -938,7 +938,7 @@ export default {
|
||||
return JSON.stringify(compare);
|
||||
},
|
||||
// uploadAttachments: function (result) {
|
||||
// //console.log('TODO, upload attachments.');
|
||||
// See reference nr. 6
|
||||
// if (0 === Object.keys(result).length) {
|
||||
//
|
||||
// for (let i in this.transactions) {
|
||||
@@ -1172,7 +1172,7 @@ export default {
|
||||
for (let i in this.transactions) {
|
||||
if (this.transactions.hasOwnProperty(i) && /^0$|^[1-9]\d*$/.test(i) && i <= 4294967294) {
|
||||
if (this.transactions.hasOwnProperty(i)) {
|
||||
// TODO
|
||||
// See reference nr. 7
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -185,7 +185,7 @@
|
||||
|
||||
<script>
|
||||
const lodashClonedeep = require('lodash.clonedeep');
|
||||
// TODO error handling
|
||||
// See reference nr. 3
|
||||
export default {
|
||||
props: ['index', 'value', 'errors', 'customFields'],
|
||||
name: "TransactionLinks",
|
||||
|
||||
Reference in New Issue
Block a user