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 committed 2020-05-14 11:26:28 +05:30
1 parent 708a60baf7
commit a4b9fb7408
15 files changed
+120 -138

No files matched your search

+1 -6
View File
@@ -56,12 +56,7 @@ export class LedgerComponent implements OnInit, AfterViewInit {
}
ngOnInit() {
this.route.data.pipe(map(
(data: { info: Ledger }) => {
data.info.body = data.info.body.map(x => ({...x, url: x['type'].replace(/ /g, '-').toLowerCase()}));
return data;
}
)).subscribe((data: { info: Ledger }) => {
this.route.data.subscribe((data: { info: Ledger }) => {
this.info = data.info;
this.calculateTotals();
this.form.setValue({