made submit message on add more logical

This commit is contained in:
piratefinn 2018-06-04 15:25:54 +01:00
parent a388e2629d
commit fa2180f603

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 &&