From 8d498b57e5786d6677b9ecf44a6ce69dd5f599b7 Mon Sep 17 00:00:00 2001 From: Julien Calixte Date: Thu, 27 Aug 2020 22:12:40 +0200 Subject: [PATCH] :bug: (transaction) pay by is mandatory --- src/components/TransactionCreate.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/TransactionCreate.vue b/src/components/TransactionCreate.vue index 7a6cf5d..37d635e 100644 --- a/src/components/TransactionCreate.vue +++ b/src/components/TransactionCreate.vue @@ -450,6 +450,7 @@ export default class TransactionCreate extends Vue { if ( !this.name || !this.amount || + !this.payBy || (!this.currency && !this.date && this.payFor.length === 0) ) { if (this.amount === 0) {