Works:
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:
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user