Fix: Adding the next account in journal with default accounts failed because amount in rowAmount as reset as number.

This commit is contained in:
tanshu 2018-06-30 20:05:32 +05:30
parent ede445ac1f
commit 739c872815

View File

@ -125,7 +125,7 @@ export class JournalComponent implements OnInit, AfterViewInit {
this.form.get('addRow').reset({ this.form.get('addRow').reset({
debit: debit, debit: debit,
account: null, account: null,
amount: amount amount: '' + amount
}); });
this.account = null; this.account = null;
this.accBal = null; this.accBal = null;