Skip to content

Firefly III: a personal finances manager

Fix #2405

James Cole843cced45455
diff --git a/resources/assets/js/components/transactions/CustomDate.vue b/resources/assets/js/components/transactions/CustomDate.vue
index 46afc83516..2325995e4f 100644
--- a/resources/assets/js/components/transactions/CustomDate.vue
+++ b/resources/assets/js/components/transactions/CustomDate.vue
@@ -29,7 +29,7 @@
<input type="date" class="form-control" :name="name"
:title="title" autocomplete="off"
ref="date"
- :value="value" @input="handleInput"
+ :value="value.substr(0,10)" @input="handleInput"
:placeholder="title">
<ul class="list-unstyled" v-for="error in this.error">
<li class="text-danger">{{ error }}</li>
diff --git a/resources/assets/js/components/transactions/EditTransaction.vue b/resources/assets/js/components/transactions/EditTransaction.vue
index e5ab6d6b73..3f28f15d52 100644
--- a/resources/assets/js/components/transactions/EditTransaction.vue
+++ b/resources/assets/js/components/transactions/EditTransaction.vue
@@ -396,7 +396,6 @@
},
budget: transaction.budget_id,
tags: newTags,
- //tags: 'abc',
custom_fields: {
interest_date: transaction.interest_date,
book_date: transaction.book_date,
@@ -415,7 +414,6 @@
id: transaction.source_id,
name: transaction.source_name,
type: transaction.source_type,
- // i dont know these
currency_id: transaction.currency_id,
currency_name: transaction.currency_name,
currency_code: transaction.currency_code,