Balance sheet
 Ledger
 Cash Flow

along with urls
Balance sheet schema does not enforce multiple_of for amounts as multiple_of borks on random figures
This commit is contained in:
tanshu
2020-05-14 11:26:28 +05:30
parent 708a60baf7
commit a4b9fb7408
15 changed files with 120 additions and 138 deletions

View File

@ -43,15 +43,12 @@ export class BalanceSheetComponent implements OnInit {
}
show() {
const info = this.getInfo();
this.router.navigate(['balance-sheet', info.date]);
const date = this.getDate();
this.router.navigate(['balance-sheet', date]);
}
getInfo(): BalanceSheet {
getDate(): string {
const formModel = this.form.value;
return {
date: moment(formModel.date).format('DD-MMM-YYYY')
};
return moment(formModel.date).format('DD-MMM-YYYY');
}
}