update tax years
parent
73bfb61f9b
commit
e4f976ea2a
|
|
@ -16,7 +16,7 @@ export class ContributorAllReportsComponent implements OnInit {
|
||||||
constructor(private printService: PrintService, private userService: UserService, private transactionService: TransactionService) { }
|
constructor(private printService: PrintService, private userService: UserService, private transactionService: TransactionService) { }
|
||||||
|
|
||||||
ngOnInit() {
|
ngOnInit() {
|
||||||
const query = forkJoin([this.userService.getAll(), this.transactionService.getByYear(2019), this.transactionService.getByYear(2018)]);
|
const query = forkJoin([this.userService.getAll(), this.transactionService.getByYear(2020), this.transactionService.getByYear(2019)]);
|
||||||
|
|
||||||
|
|
||||||
query.subscribe(res => this.setup(res[0], res[1], res[2]));
|
query.subscribe(res => this.setup(res[0], res[1], res[2]));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue