🐛 (transaction) pay by is mandatory
This commit is contained in:
@@ -450,6 +450,7 @@ export default class TransactionCreate extends Vue {
|
|||||||
if (
|
if (
|
||||||
!this.name ||
|
!this.name ||
|
||||||
!this.amount ||
|
!this.amount ||
|
||||||
|
!this.payBy ||
|
||||||
(!this.currency && !this.date && this.payFor.length === 0)
|
(!this.currency && !this.date && this.payFor.length === 0)
|
||||||
) {
|
) {
|
||||||
if (this.amount === 0) {
|
if (this.amount === 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user