From 1eea07ac704b251c8c4d289f15d1aa03c836508e Mon Sep 17 00:00:00 2001 From: ogerly Date: Wed, 14 Dec 2022 15:42:31 +0100 Subject: [PATCH] rightSide LastTransaction style, click name --- .../Contributions/ContributionForm.vue | 4 ++-- frontend/src/components/Inputs/InputTime.vue | 8 ++++---- .../Template/RightSide/LastTransactions.vue | 7 ++++++- .../src/components/TransactionRows/Name.vue | 18 +++++++----------- frontend/src/layouts/templates/RightSide.vue | 16 ++++++++-------- frontend/src/validation-rules.js | 12 ++++++------ 6 files changed, 33 insertions(+), 32 deletions(-) diff --git a/frontend/src/components/Contributions/ContributionForm.vue b/frontend/src/components/Contributions/ContributionForm.vue index 611e171ba..546e86d11 100644 --- a/frontend/src/components/Contributions/ContributionForm.vue +++ b/frontend/src/components/Contributions/ContributionForm.vue @@ -190,8 +190,8 @@ export default { return Number(this.isThisMonth ? this.maxGddThisMonth : this.maxGddLastMonth) }, validMaxTime() { - console.log(this.validMaxGDD) - console.log(this.validMaxGDD / 20) + // console.log(this.validMaxGDD) + // console.log(this.validMaxGDD / 20) return Number(this.validMaxGDD / 20) }, }, diff --git a/frontend/src/components/Inputs/InputTime.vue b/frontend/src/components/Inputs/InputTime.vue index 073e98d06..cd9cecc3d 100644 --- a/frontend/src/components/Inputs/InputTime.vue +++ b/frontend/src/components/Inputs/InputTime.vue @@ -51,14 +51,14 @@ export default { this.$emit('input', this.currentValue) }, value() { - console.log('value', this.value) - console.log('value !== currentValue', this.value !== this.currentValue) + // console.log('value', this.value) + // console.log('value !== currentValue', this.value !== this.currentValue) // this.value = Number(this.value) if (Number(this.value) !== this.currentValue) this.currentValue = this.value this.currentValue = Number(this.currentValue) // this.value = Number(this.value) - console.log('value', typeof(this.value)) - console.log('currentValue', typeof(this.currentValue)) + // console.log('value', typeof(this.value)) + // console.log('currentValue', typeof(this.currentValue)) }, }, methods: { diff --git a/frontend/src/components/Template/RightSide/LastTransactions.vue b/frontend/src/components/Template/RightSide/LastTransactions.vue index 95d6b1ac4..bb0d563da 100644 --- a/frontend/src/components/Template/RightSide/LastTransactions.vue +++ b/frontend/src/components/Template/RightSide/LastTransactions.vue @@ -24,7 +24,7 @@ class="mr-3" > - {{ transaction.linkedUser.firstName }} {{ transaction.linkedUser.lastName }} + {{ transaction.amount | GDD }} @@ -34,8 +34,13 @@