made submit message on add more logical

This commit is contained in:
piratefinn 2018-06-04 15:25:54 +01:00
parent 718b5bc8b0
commit 05c4d2284e

View file

@ -174,6 +174,7 @@ export class AddDataComponent implements OnInit {
} }
transactionFormValidate() { transactionFormValidate() {
this.transactionFormStatus = null;
if (this.submitOrg.name.length && if (this.submitOrg.name.length &&
this.amount && this.amount &&
(this.recurringPurchase && (this.recurringPurchase &&